# #5162a6 color: Submarine Base

#5162a6 is rgb(81, 98, 166) in RGB and oklch(51.444% 0.10961 271.497) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5162a6 |
| RGB | rgb(81, 98, 166) |
| HSL | hsl(228, 34.41%, 48.43%) |
| HSB / HSV | hsv(228 51.2% 65.1%) |
| HWB | hwb(228 31.76% 34.9%) |
| CMYK | cmyk(51% 41% 0% 35%) |
| Lab | lab(42.61 8.58 -39.33) |
| LCH | lch(42.61 40.25 282.3) |
| OKLab | oklab(51.444% 0.00286 -0.10957) |
| OKLCH | oklch(51.444% 0.10961 271.497) |
| Display P3 | color(display-p3 0.33068 0.38232 0.63222) |
| Rec. 2020 | color(rec2020 0.3051 0.32778 0.58928) |
| Adobe RGB | color(a98-rgb 0.34065 0.3844 0.63681) |
| ProPhoto RGB | color(prophoto-rgb 0.33208 0.3157 0.55435) |
| Linear sRGB | color(srgb-linear 0.08228 0.12214 0.38133) |
| XYZ D65 | color(xyz-d65 0.14643 0.13238 0.37861) |
| XYZ D50 | color(xyz-d50 0.13748 0.12898 0.28531) |
| SwiftUI | Color(red: 0.318, green: 0.384, blue: 0.651) |
| UIKit | UIColor(red: 0.318, green: 0.384, blue: 0.651, alpha: 1) |
| Flutter / Compose | Color(0xFF5162A6) |
| Android XML | #5162A6 |

## 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.76:1
- Contrast with black: 3.65:1

## Tints

#5162a6, #6171af, #7180b9, #8190c2, #929fcb, #a3afd4, #b5bfdd, #c7cee5, #d9deee, #eceff7

## Shades

#5162a6, #455490, #3a477a, #2f3a65, #242d51, #1a213e, #10162b, #070b1a, #02030a, #000001

## Tones

#5162a6, #5363a0, #55649a, #576594, #5a658e, #5c6687, #5e6681, #60677b, #636774, #65676e

## Harmonies

- Complementary: #5162a6, #7e6400
- Split: #5162a6, #935615, #5e711d
- Analogous: #5162a6, #1b6ea0, #73579c
- Triadic: #5162a6, #9c4c3e, #2d7946
- Tetradic: #5162a6, #8b4e84, #7e6400, #2d7946
- Square: #5162a6, #994a63, #7e6400, #007b6b
- Monochromatic: #5162a6, #161e5c, #324080, #7386cd, #96abf5

## Questions about #5162a6

### What color is #5162a6?

#5162a6 is soft indigo. The closest named color is Submarine Base. In RGB it is rgb(81, 98, 166), in HSL hsl(228, 34.41%, 48.43%) and in OKLCH oklch(51.444% 0.10961 271.497).

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

The complementary color of #5162a6 is #7e6400. For a calmer combination use the analogous colors #1b6ea0 and #73579c. The triadic partners are #9c4c3e and #2d7946.

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

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

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

#5162a6 is a cool color. In OKLCH its hue is 271 degrees, its lightness 51.4% and its chroma 0.11.
