# #5b5b8d color: Midnight Sea

#5b5b8d is rgb(91, 91, 141) in RGB and oklch(49.291% 0.07932 283.102) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/5b5b8d

## Formats

| Format | Value |
| --- | --- |
| HEX | #5b5b8d |
| RGB | rgb(91, 91, 141) |
| HSL | hsl(240, 21.55%, 45.49%) |
| HSB / HSV | hsv(240 35.46% 55.29%) |
| HWB | hwb(240 35.69% 44.71%) |
| CMYK | cmyk(35% 35% 0% 45%) |
| Lab | lab(40.32 9.65 -27.98) |
| LCH | lch(40.32 29.6 289.02) |
| OKLab | oklab(49.291% 0.01798 -0.07726) |
| OKLCH | oklch(49.291% 0.07932 283.102) |
| Display P3 | color(display-p3 0.35686 0.35686 0.53895) |
| Rec. 2020 | color(rec2020 0.31053 0.30188 0.48924) |
| Adobe RGB | color(a98-rgb 0.35827 0.35827 0.5417) |
| ProPhoto RGB | color(prophoto-rgb 0.31826 0.29216 0.45735) |
| Linear sRGB | color(srgb-linear 0.10462 0.10462 0.26636) |
| XYZ D65 | color(xyz-d65 0.12862 0.11629 0.26767) |
| XYZ D50 | color(xyz-d50 0.12402 0.11442 0.20182) |
| SwiftUI | Color(red: 0.357, green: 0.357, blue: 0.553) |
| UIKit | UIColor(red: 0.357, green: 0.357, blue: 0.553, alpha: 1) |
| Flutter / Compose | Color(0xFF5B5B8D) |
| Android XML | #5B5B8D |

## Facts

- Closest name: Midnight Sea
- Hue family: Indigo, dusty dark indigo
- Closest Tailwind class: slate-600
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 6.31:1
- Contrast with black: 3.33:1

## Tints

#5b5b8d, #6a6a98, #797aa4, #888aaf, #989aba, #a9aac6, #b9bbd1, #cacbdd, #dcdce8, #edeef4

## Shades

#5b5b8d, #4e4e7a, #414167, #353555, #292944, #1e1e33, #131323, #090914, #030307, #000001

## Tones

#5b5b8d, #5b5c89, #5c5d85, #5d5d80, #5d5e7c, #5e5f78, #5e5f73, #5f606f, #60606a, #606166

## Harmonies

- Complementary: #5b5b8d, #696329
- Split: #5b5b8d, #7c5a29, #4f6b3b
- Analogous: #5b5b8d, #40638d, #715381
- Triadic: #5b5b8d, #87523b, #306f54
- Tetradic: #5b5b8d, #814e6d, #696329, #306f54
- Square: #5b5b8d, #884e54, #696329, #146f6e
- Monochromatic: #5b5b8d, #1e1b46, #3b3a69, #7d7eb3, #a1a3da

## Questions about #5b5b8d

### What color is #5b5b8d?

#5b5b8d is dusty dark indigo. The closest named color is Midnight Sea. In RGB it is rgb(91, 91, 141), in HSL hsl(240, 21.55%, 45.49%) and in OKLCH oklch(49.291% 0.07932 283.102).

### What colors go well with #5b5b8d?

The complementary color of #5b5b8d is #696329. For a calmer combination use the analogous colors #40638d and #715381. The triadic partners are #87523b and #306f54.

### Is white or black text more readable on #5b5b8d?

White text reads better on #5b5b8d: white gives a contrast ratio of 6.31:1 and black gives 3.33:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #5b5b8d a warm or cool color?

#5b5b8d is a cool color. In OKLCH its hue is 283 degrees, its lightness 49.3% and its chroma 0.079.
