# #4a4887 color: Moonlight Sonata

#4a4887 is rgb(74, 72, 135) in RGB and oklch(43.509% 0.10186 282.741) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/4a4887

## Formats

| Format | Value |
| --- | --- |
| HEX | #4a4887 |
| RGB | rgb(74, 72, 135) |
| HSL | hsl(241.9, 30.43%, 40.59%) |
| HSB / HSV | hsv(241.9 46.67% 52.94%) |
| HWB | hwb(241.9 28.24% 47.06%) |
| CMYK | cmyk(45% 47% 0% 47%) |
| Lab | lab(33.22 14.23 -35.6) |
| LCH | lch(33.22 38.33 291.78) |
| OKLab | oklab(43.509% 0.02247 -0.09936) |
| OKLCH | oklch(43.509% 0.10186 282.741) |
| Display P3 | color(display-p3 0.28882 0.28262 0.5132) |
| Rec. 2020 | color(rec2020 0.24297 0.22659 0.46119) |
| Adobe RGB | color(a98-rgb 0.29341 0.28815 0.51761) |
| ProPhoto RGB | color(prophoto-rgb 0.26517 0.22853 0.42953) |
| Linear sRGB | color(srgb-linear 0.06848 0.0648 0.24228) |
| XYZ D65 | color(xyz-d65 0.09514 0.0784 0.23934) |
| XYZ D50 | color(xyz-d50 0.08949 0.07638 0.18026) |
| SwiftUI | Color(red: 0.29, green: 0.282, blue: 0.529) |
| UIKit | UIColor(red: 0.29, green: 0.282, blue: 0.529, alpha: 1) |
| Flutter / Compose | Color(0xFF4A4887) |
| Android XML | #4A4887 |

## 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.18:1
- Contrast with black: 2.57:1

## Tints

#4a4887, #5a5993, #6a6b9f, #7b7cab, #8d8eb8, #9fa0c4, #b1b3cf, #c4c5db, #d7d8e7, #ebecf3

## Shades

#4a4887, #3f3d75, #353363, #2a2951, #201f41, #171631, #0e0d21, #060613, #020206, #000001

## Tones

#4a4887, #4a4982, #4b4b7d, #4b4c77, #4c4d72, #4d4e6d, #4e4f67, #4e4f62, #4f505c, #505157

## Harmonies

- Complementary: #4a4887, #5c5200
- Split: #4a4887, #724600, #3a5c1b
- Analogous: #4a4887, #225387, #643e79
- Triadic: #4a4887, #7e3b1e, #006240
- Tetradic: #4a4887, #763860, #5c5200, #006240
- Square: #4a4887, #7f3641, #5c5200, #00615f
- Monochromatic: #4a4887, #130540, #2c2763, #6b6aad, #8e8fd4

## Questions about #4a4887

### What color is #4a4887?

#4a4887 is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(74, 72, 135), in HSL hsl(241.9, 30.43%, 40.59%) and in OKLCH oklch(43.509% 0.10186 282.741).

### What colors go well with #4a4887?

The complementary color of #4a4887 is #5c5200. For a calmer combination use the analogous colors #225387 and #643e79. The triadic partners are #7e3b1e and #006240.

### Is white or black text more readable on #4a4887?

White text reads better on #4a4887: white gives a contrast ratio of 8.18:1 and black gives 2.57:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #4a4887 a warm or cool color?

#4a4887 is a cool color. In OKLCH its hue is 283 degrees, its lightness 43.5% and its chroma 0.102.
