# #5162a7 color: Submarine Base

#5162a7 is rgb(81, 98, 167) in RGB and oklch(51.504% 0.11109 271.582) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5162a7 |
| RGB | rgb(81, 98, 167) |
| HSL | hsl(228.14, 34.68%, 48.63%) |
| HSB / HSV | hsv(228.14 51.5% 65.49%) |
| HWB | hwb(228.14 31.76% 34.51%) |
| CMYK | cmyk(51% 41% 0% 35%) |
| Lab | lab(42.66 8.84 -39.84) |
| LCH | lch(42.66 40.81 282.51) |
| OKLab | oklab(51.504% 0.00307 -0.11104) |
| OKLCH | oklch(51.504% 0.11109 271.582) |
| Display P3 | color(display-p3 0.33068 0.38232 0.63593) |
| Rec. 2020 | color(rec2020 0.30547 0.32787 0.59327) |
| Adobe RGB | color(a98-rgb 0.34065 0.3844 0.64062) |
| ProPhoto RGB | color(prophoto-rgb 0.33304 0.31591 0.55827) |
| Linear sRGB | color(srgb-linear 0.08228 0.12214 0.38643) |
| XYZ D65 | color(xyz-d65 0.14735 0.13274 0.38346) |
| XYZ D50 | color(xyz-d50 0.13821 0.12929 0.28895) |
| SwiftUI | Color(red: 0.318, green: 0.384, blue: 0.655) |
| UIKit | UIColor(red: 0.318, green: 0.384, blue: 0.655, alpha: 1) |
| Flutter / Compose | Color(0xFF5162A7) |
| Android XML | #5162A7 |

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

## Tints

#5162a7, #6071b0, #7181ba, #8190c3, #929fcc, #a3afd4, #b5bfdd, #c7cfe6, #d9dfee, #eceff7

## Shades

#5162a7, #455491, #3a477b, #2f3a66, #242d52, #1a213e, #10162c, #070b1a, #02030a, #000001

## Tones

#5162a7, #5363a1, #55649b, #576595, #5a658e, #5c6688, #5e6682, #60677b, #636775, #65676e

## Harmonies

- Complementary: #5162a7, #7f6400
- Split: #5162a7, #945613, #5e711b
- Analogous: #5162a7, #196ea1, #73579c
- Triadic: #5162a7, #9d4c3e, #2b7946
- Tetradic: #5162a7, #8c4e84, #7f6400, #2b7946
- Square: #5162a7, #9a4963, #7f6400, #007b6c
- Monochromatic: #5162a7, #171e5d, #324081, #7386ce, #96abf6

## Questions about #5162a7

### What color is #5162a7?

#5162a7 is soft indigo. The closest named color is Submarine Base. In RGB it is rgb(81, 98, 167), in HSL hsl(228.14, 34.68%, 48.63%) and in OKLCH oklch(51.504% 0.11109 271.582).

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

The complementary color of #5162a7 is #7f6400. For a calmer combination use the analogous colors #196ea1 and #73579c. The triadic partners are #9d4c3e and #2b7946.

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

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

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

#5162a7 is a cool color. In OKLCH its hue is 272 degrees, its lightness 51.5% and its chroma 0.111.
