# #4a4888 color: Moonlight Sonata

#4a4888 is rgb(74, 72, 136) in RGB and oklch(43.574% 0.10338 282.636) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4a4888 |
| RGB | rgb(74, 72, 136) |
| HSL | hsl(241.88, 30.77%, 40.78%) |
| HSB / HSV | hsv(241.88 47.06% 53.33%) |
| HWB | hwb(241.88 28.24% 46.67%) |
| CMYK | cmyk(46% 47% 0% 47%) |
| Lab | lab(33.27 14.48 -36.13) |
| LCH | lch(33.27 38.92 291.84) |
| OKLab | oklab(43.574% 0.02262 -0.10088) |
| OKLCH | oklch(43.574% 0.10338 282.636) |
| Display P3 | color(display-p3 0.28882 0.28262 0.51691) |
| Rec. 2020 | color(rec2020 0.24332 0.22668 0.46513) |
| Adobe RGB | color(a98-rgb 0.29341 0.28815 0.52136) |
| ProPhoto RGB | color(prophoto-rgb 0.26606 0.22873 0.43322) |
| Linear sRGB | color(srgb-linear 0.06848 0.0648 0.2462) |
| XYZ D65 | color(xyz-d65 0.09585 0.07868 0.24307) |
| XYZ D50 | color(xyz-d50 0.09005 0.07662 0.18306) |
| SwiftUI | Color(red: 0.29, green: 0.282, blue: 0.533) |
| UIKit | UIColor(red: 0.29, green: 0.282, blue: 0.533, alpha: 1) |
| Flutter / Compose | Color(0xFF4A4888) |
| Android XML | #4A4888 |

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

## Tints

#4a4888, #5a5994, #6a6ba0, #7b7cac, #8c8eb8, #9fa0c4, #b1b3d0, #c4c5dc, #d7d8e8, #ebecf3

## Shades

#4a4888, #3f3d75, #353363, #2a2952, #201f41, #171631, #0e0d22, #060613, #020206, #000001

## Tones

#4a4888, #4a4983, #4b4b7d, #4c4c78, #4c4d73, #4d4e6d, #4e4f68, #4e4f62, #4f505d, #505157

## Harmonies

- Complementary: #4a4888, #5d5300
- Split: #4a4888, #734600, #3a5d19
- Analogous: #4a4888, #215388, #653e7a
- Triadic: #4a4888, #7f3b1d, #006240
- Tetradic: #4a4888, #773761, #5d5300, #006240
- Square: #4a4888, #803541, #5d5300, #00615f
- Monochromatic: #4a4888, #130541, #2c2764, #6b6bae, #8e8fd5

## Questions about #4a4888

### What color is #4a4888?

#4a4888 is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(74, 72, 136), in HSL hsl(241.88, 30.77%, 40.78%) and in OKLCH oklch(43.574% 0.10338 282.636).

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

The complementary color of #4a4888 is #5d5300. For a calmer combination use the analogous colors #215388 and #653e7a. The triadic partners are #7f3b1d and #006240.

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

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

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

#4a4888 is a cool color. In OKLCH its hue is 283 degrees, its lightness 43.6% and its chroma 0.103.
