# #5161ab color: Submarine Base

#5161ab is rgb(81, 97, 171) in RGB and oklch(51.536% 0.11831 272.439) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/5161ab

## Formats

| Format | Value |
| --- | --- |
| HEX | #5161ab |
| RGB | rgb(81, 97, 171) |
| HSL | hsl(229.33, 35.71%, 49.41%) |
| HSB / HSV | hsv(229.33 52.63% 67.06%) |
| HWB | hwb(229.33 31.76% 32.94%) |
| CMYK | cmyk(53% 43% 0% 33%) |
| Lab | lab(42.57 10.47 -42.34) |
| LCH | lch(42.57 43.61 283.89) |
| OKLab | oklab(51.536% 0.00503 -0.1182) |
| OKLCH | oklch(51.536% 0.11831 272.439) |
| Display P3 | color(display-p3 0.32985 0.37851 0.65062) |
| Rec. 2020 | color(rec2020 0.30554 0.32447 0.60907) |
| Adobe RGB | color(a98-rgb 0.33942 0.38066 0.6558) |
| ProPhoto RGB | color(prophoto-rgb 0.3358 0.31354 0.57378) |
| Linear sRGB | color(srgb-linear 0.08228 0.11954 0.40724) |
| XYZ D65 | color(xyz-d65 0.15018 0.13239 0.40293) |
| XYZ D50 | color(xyz-d50 0.14019 0.12869 0.30356) |
| SwiftUI | Color(red: 0.318, green: 0.38, blue: 0.671) |
| UIKit | UIColor(red: 0.318, green: 0.38, blue: 0.671, alpha: 1) |
| Flutter / Compose | Color(0xFF5161AB) |
| Android XML | #5161AB |

## 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

#5161ab, #6070b4, #7080bd, #818fc6, #929fce, #a3afd7, #b5bedf, #c7cee7, #d9deef, #eceff7

## Shades

#5161ab, #455394, #3a467e, #2f3968, #242d54, #1a2140, #10152d, #070b1b, #02030b, #000001

## Tones

#5161ab, #5362a4, #55639e, #576497, #5a6591, #5c668a, #5e6683, #60677d, #636776, #65676f

## Harmonies

- Complementary: #5161ab, #806400
- Split: #5161ab, #965500, #5c7212
- Analogous: #5161ab, #0f6ea5, #75559f
- Triadic: #5161ab, #a04a39, #217a45
- Tetradic: #5161ab, #8e4b85, #806400, #217a45
- Square: #5161ab, #9d4762, #806400, #007c6d
- Monochromatic: #5161ab, #171c60, #323e85, #7285d2, #96aafb

## Questions about #5161ab

### What color is #5161ab?

#5161ab is soft indigo. The closest named color is Submarine Base. In RGB it is rgb(81, 97, 171), in HSL hsl(229.33, 35.71%, 49.41%) and in OKLCH oklch(51.536% 0.11831 272.439).

### What colors go well with #5161ab?

The complementary color of #5161ab is #806400. For a calmer combination use the analogous colors #0f6ea5 and #75559f. The triadic partners are #a04a39 and #217a45.

### Is white or black text more readable on #5161ab?

White text reads better on #5161ab: 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 #5161ab a warm or cool color?

#5161ab is a cool color. In OKLCH its hue is 272 degrees, its lightness 51.5% and its chroma 0.118.
