# #5a5998 color: Old Nan Yarn

#5a5998 is rgb(90, 89, 152) in RGB and oklch(49.399% 0.09933 282.859) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a5998 |
| RGB | rgb(90, 89, 152) |
| HSL | hsl(240.95, 26.14%, 47.25%) |
| HSB / HSV | hsv(240.95 41.45% 59.61%) |
| HWB | hwb(240.95 34.9% 40.39%) |
| CMYK | cmyk(41% 41% 0% 40%) |
| Lab | lab(40.15 13.03 -34.85) |
| LCH | lch(40.15 37.2 290.51) |
| OKLab | oklab(49.399% 0.02211 -0.09684) |
| OKLCH | oklch(49.399% 0.09933 282.859) |
| Display P3 | color(display-p3 0.35225 0.34915 0.57926) |
| Rec. 2020 | color(rec2020 0.30891 0.29509 0.53213) |
| Adobe RGB | color(a98-rgb 0.35349 0.35083 0.58294) |
| ProPhoto RGB | color(prophoto-rgb 0.32361 0.28765 0.49811) |
| Linear sRGB | color(srgb-linear 0.10224 0.0999 0.31399) |
| XYZ D65 | color(xyz-d65 0.13455 0.11585 0.31234) |
| XYZ D50 | color(xyz-d50 0.12799 0.1134 0.23534) |
| SwiftUI | Color(red: 0.353, green: 0.349, blue: 0.596) |
| UIKit | UIColor(red: 0.353, green: 0.349, blue: 0.596, alpha: 1) |
| Flutter / Compose | Color(0xFF5A5998) |
| Android XML | #5A5998 |

## 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.33:1
- Contrast with black: 3.32:1

## Tints

#5a5998, #6969a3, #7879ad, #8789b8, #9799c2, #a8aacc, #b9bad6, #cacbe1, #dbdceb, #edeef5

## Shades

#5a5998, #4d4c84, #414070, #35345c, #29284a, #1e1d38, #131327, #090917, #030308, #000001

## Tones

#5a5998, #5b5a93, #5b5b8d, #5c5c88, #5c5d83, #5d5e7d, #5e5f78, #5f6072, #60606d, #606167

## Harmonies

- Complementary: #5a5998, #6c630c
- Split: #5a5998, #83570f, #4b6d2e
- Analogous: #5a5998, #356498, #754f8a
- Triadic: #5a5998, #904d30, #167351
- Tetradic: #5a5998, #884970, #6c630c, #167351
- Square: #5a5998, #914751, #6c630c, #007371
- Monochromatic: #5a5998, #1f1750, #3b3773, #7c7cbe, #a0a1e6

## Questions about #5a5998

### What color is #5a5998?

#5a5998 is muted dark indigo. The closest named color is Old Nan Yarn. In RGB it is rgb(90, 89, 152), in HSL hsl(240.95, 26.14%, 47.25%) and in OKLCH oklch(49.399% 0.09933 282.859).

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

The complementary color of #5a5998 is #6c630c. For a calmer combination use the analogous colors #356498 and #754f8a. The triadic partners are #904d30 and #167351.

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

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

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

#5a5998 is a cool color. In OKLCH its hue is 283 degrees, its lightness 49.4% and its chroma 0.099.
