# #474787 color: Moonlight Sonata

#474787 is rgb(71, 71, 135) in RGB and oklch(43.052% 0.10387 281.12) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/474787

## Formats

| Format | Value |
| --- | --- |
| HEX | #474787 |
| RGB | rgb(71, 71, 135) |
| HSL | hsl(240, 31.07%, 40.39%) |
| HSB / HSV | hsv(240 47.41% 52.94%) |
| HWB | hwb(240 27.84% 47.06%) |
| CMYK | cmyk(47% 47% 0% 47%) |
| Lab | lab(32.67 13.94 -36.48) |
| LCH | lch(32.67 39.05 290.92) |
| OKLab | oklab(43.052% 0.02003 -0.10192) |
| OKLCH | oklch(43.052% 0.10387 281.12) |
| Display P3 | color(display-p3 0.27843 0.27843 0.51297) |
| Rec. 2020 | color(rec2020 0.23456 0.22212 0.46091) |
| Adobe RGB | color(a98-rgb 0.2845 0.2845 0.51753) |
| ProPhoto RGB | color(prophoto-rgb 0.25952 0.2247 0.4292) |
| Linear sRGB | color(srgb-linear 0.06301 0.06301 0.24228) |
| XYZ D65 | color(xyz-d65 0.09224 0.07595 0.23902) |
| XYZ D50 | color(xyz-d50 0.08641 0.07388 0.18001) |
| SwiftUI | Color(red: 0.278, green: 0.278, blue: 0.529) |
| UIKit | UIColor(red: 0.278, green: 0.278, blue: 0.529, alpha: 1) |
| Flutter / Compose | Color(0xFF474787) |
| Android XML | #474787 |

## Facts

- Closest name: Moonlight Sonata
- Hue family: Indigo, soft dark indigo
- Closest Tailwind class: slate-600
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 8.34:1
- Contrast with black: 2.52:1

## Tints

#474787, #575893, #676a9f, #797cac, #8a8eb8, #9da0c4, #b0b2d0, #c3c5db, #d7d8e7, #ebebf3

## Shades

#474787, #3d3d75, #323263, #282851, #1f1f41, #161631, #0d0d21, #060613, #020206, #000001

## Tones

#474787, #484882, #484a7c, #494b77, #4a4c72, #4b4d6c, #4c4d67, #4d4e61, #4e4f5b, #4f4f56

## Harmonies

- Complementary: #474787, #5d5000
- Split: #474787, #734400, #3b5b14
- Analogous: #474787, #1c5286, #623d79
- Triadic: #474787, #7e391d, #00613d
- Tetradic: #474787, #753661, #5d5000, #00613d
- Square: #474787, #7e3441, #5d5000, #005f5c
- Monochromatic: #474787, #110440, #292663, #6769ad, #8a8ed4

## Questions about #474787

### What color is #474787?

#474787 is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(71, 71, 135), in HSL hsl(240, 31.07%, 40.39%) and in OKLCH oklch(43.052% 0.10387 281.12).

### What colors go well with #474787?

The complementary color of #474787 is #5d5000. For a calmer combination use the analogous colors #1c5286 and #623d79. The triadic partners are #7e391d and #00613d.

### Is white or black text more readable on #474787?

White text reads better on #474787: white gives a contrast ratio of 8.34:1 and black gives 2.52:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #474787 a warm or cool color?

#474787 is a cool color. In OKLCH its hue is 281 degrees, its lightness 43.1% and its chroma 0.104.
