# #5a5a99 color: Old Nan Yarn

#5a5a99 is rgb(90, 90, 153) in RGB and oklch(49.664% 0.09932 282.17) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a5a99 |
| RGB | rgb(90, 90, 153) |
| HSL | hsl(240, 25.93%, 47.65%) |
| HSB / HSV | hsv(240 41.18% 60%) |
| HWB | hwb(240 35.29% 40%) |
| CMYK | cmyk(41% 41% 0% 40%) |
| Lab | lab(40.47 12.68 -34.94) |
| LCH | lch(40.47 37.17 289.94) |
| OKLab | oklab(49.664% 0.02094 -0.09709) |
| OKLCH | oklch(49.664% 0.09932 282.17) |
| Display P3 | color(display-p3 0.35294 0.35294 0.58311) |
| Rec. 2020 | color(rec2020 0.31051 0.29889 0.53629) |
| Adobe RGB | color(a98-rgb 0.35454 0.35454 0.5868) |
| ProPhoto RGB | color(prophoto-rgb 0.32554 0.29091 0.50219) |
| Linear sRGB | color(srgb-linear 0.10224 0.10224 0.31855) |
| XYZ D65 | color(xyz-d65 0.13622 0.11786 0.31695) |
| XYZ D50 | color(xyz-d50 0.12954 0.11535 0.23882) |
| SwiftUI | Color(red: 0.353, green: 0.353, blue: 0.6) |
| UIKit | UIColor(red: 0.353, green: 0.353, blue: 0.6, alpha: 1) |
| Flutter / Compose | Color(0xFF5A5A99) |
| Android XML | #5A5A99 |

## Facts

- Closest name: Old Nan Yarn
- Hue family: Indigo, muted dark indigo
- Closest Tailwind class: slate-600
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 6.26:1
- Contrast with black: 3.36:1

## Tints

#5a5a99, #696aa4, #787aae, #878ab8, #979ac3, #a8aacd, #b9bbd7, #cacce1, #dbdceb, #edeef5

## Shades

#5a5a99, #4d4d84, #414170, #35355d, #29294a, #1e1e38, #131327, #090917, #030308, #000001

## Tones

#5a5a99, #5b5b94, #5b5c8e, #5c5d89, #5d5e84, #5d5f7e, #5e6079, #5f6173, #60616e, #616268

## Harmonies

- Complementary: #5a5a99, #6e640d
- Split: #5a5a99, #855811, #4c6e2e
- Analogous: #5a5a99, #346599, #75508b
- Triadic: #5a5a99, #914d32, #197351
- Tetradic: #5a5a99, #884a72, #6e640d, #197351
- Square: #5a5a99, #924853, #6e640d, #007371
- Monochromatic: #5a5a99, #1f1851, #3b3874, #7c7dbf, #a0a2e7

## Questions about #5a5a99

### What color is #5a5a99?

#5a5a99 is muted dark indigo. The closest named color is Old Nan Yarn. In RGB it is rgb(90, 90, 153), in HSL hsl(240, 25.93%, 47.65%) and in OKLCH oklch(49.664% 0.09932 282.17).

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

The complementary color of #5a5a99 is #6e640d. For a calmer combination use the analogous colors #346599 and #75508b. The triadic partners are #914d32 and #197351.

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

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

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

#5a5a99 is a cool color. In OKLCH its hue is 282 degrees, its lightness 49.7% and its chroma 0.099.
