# #5162b1 color: Submarine Base

#5162b1 is rgb(81, 98, 177) in RGB and oklch(52.12% 0.12573 272.227) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/5162b1

## Formats

| Format | Value |
| --- | --- |
| HEX | #5162b1 |
| RGB | rgb(81, 98, 177) |
| HSL | hsl(229.38, 38.1%, 50.59%) |
| HSB / HSV | hsv(229.38 54.24% 69.41%) |
| HWB | hwb(229.38 31.76% 30.59%) |
| CMYK | cmyk(54% 45% 0% 31%) |
| Lab | lab(43.14 11.47 -44.94) |
| LCH | lch(43.14 46.38 284.32) |
| OKLab | oklab(52.12% 0.00489 -0.12564) |
| OKLCH | oklch(52.12% 0.12573 272.227) |
| Display P3 | color(display-p3 0.33068 0.38232 0.67305) |
| Rec. 2020 | color(rec2020 0.30931 0.32882 0.63333) |
| Adobe RGB | color(a98-rgb 0.34065 0.3844 0.67883) |
| ProPhoto RGB | color(prophoto-rgb 0.34294 0.31799 0.59794) |
| Linear sRGB | color(srgb-linear 0.08228 0.12214 0.43966) |
| XYZ D65 | color(xyz-d65 0.15696 0.13659 0.43406) |
| XYZ D50 | color(xyz-d50 0.14583 0.13252 0.32696) |
| SwiftUI | Color(red: 0.318, green: 0.384, blue: 0.694) |
| UIKit | UIColor(red: 0.318, green: 0.384, blue: 0.694, alpha: 1) |
| Flutter / Compose | Color(0xFF5162B1) |
| Android XML | #5162B1 |

## Facts

- Closest name: Submarine Base
- Hue family: Indigo, soft indigo
- Closest Tailwind class: sky-700
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 5.63:1
- Contrast with black: 3.73:1

## Tints

#5162b1, #6072ba, #7081c2, #8190ca, #92a0d2, #a3afda, #b5bfe2, #c7cfe9, #d9dff1, #eceff8

## Shades

#5162b1, #455499, #3a4783, #2f3a6c, #242d57, #1a2142, #10162f, #070b1c, #02030c, #000001

## Tones

#5162b1, #5363aa, #5565a3, #58669c, #5a6695, #5d678e, #5f6887, #616880, #646978, #676971

## Harmonies

- Complementary: #5162b1, #836500
- Split: #5162b1, #9b5500, #5d7403
- Analogous: #5162b1, #0070ab, #7755a5
- Triadic: #5162b1, #a54938, #1a7d43
- Tetradic: #5162b1, #924b89, #836500, #1a7d43
- Square: #5162b1, #a24563, #836500, #007e6e
- Monochromatic: #5162b1, #181c65, #323f8b, #7286d9, #96acff

## Questions about #5162b1

### What color is #5162b1?

#5162b1 is soft indigo. The closest named color is Submarine Base. In RGB it is rgb(81, 98, 177), in HSL hsl(229.38, 38.1%, 50.59%) and in OKLCH oklch(52.12% 0.12573 272.227).

### What colors go well with #5162b1?

The complementary color of #5162b1 is #836500. For a calmer combination use the analogous colors #0070ab and #7755a5. The triadic partners are #a54938 and #1a7d43.

### Is white or black text more readable on #5162b1?

White text reads better on #5162b1: white gives a contrast ratio of 5.63:1 and black gives 3.73:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #5162b1 a warm or cool color?

#5162b1 is a cool color. In OKLCH its hue is 272 degrees, its lightness 52.1% and its chroma 0.126.
