# #4a4790 color: Moonlight Sonata

#4a4790 is rgb(74, 71, 144) in RGB and oklch(43.904% 0.11689 282.306) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4a4790 |
| RGB | rgb(74, 71, 144) |
| HSL | hsl(242.47, 33.95%, 42.16%) |
| HSB / HSV | hsv(242.47 50.69% 56.47%) |
| HWB | hwb(242.47 27.84% 43.53%) |
| CMYK | cmyk(49% 51% 0% 44%) |
| Lab | lab(33.42 17.14 -40.78) |
| LCH | lch(33.42 44.23 292.79) |
| OKLab | oklab(43.904% 0.02491 -0.11421) |
| OKLCH | oklch(43.904% 0.11689 282.306) |
| Display P3 | color(display-p3 0.28815 0.27883 0.54654) |
| Rec. 2020 | color(rec2020 0.24501 0.22388 0.49659) |
| Adobe RGB | color(a98-rgb 0.2924 0.2845 0.55137) |
| ProPhoto RGB | color(prophoto-rgb 0.27241 0.22756 0.46288) |
| Linear sRGB | color(srgb-linear 0.06848 0.06301 0.27889) |
| XYZ D65 | color(xyz-d65 0.10111 0.07976 0.27393) |
| XYZ D50 | color(xyz-d50 0.09403 0.07731 0.20623) |
| SwiftUI | Color(red: 0.29, green: 0.278, blue: 0.565) |
| UIKit | UIColor(red: 0.29, green: 0.278, blue: 0.565, alpha: 1) |
| Flutter / Compose | Color(0xFF4A4790) |
| Android XML | #4A4790 |

## Facts

- Closest name: Moonlight Sonata
- Hue family: Indigo, soft dark indigo
- Closest Tailwind class: blue-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 8.09:1
- Contrast with black: 2.6:1

## Tints

#4a4790, #59599c, #6a6aa7, #7b7cb2, #8c8ebe, #9ea0c9, #b1b3d4, #c4c6df, #d7d8ea, #ebecf4

## Shades

#4a4790, #3f3d7d, #35326a, #2a2857, #201f45, #171634, #0e0d24, #060615, #020207, #000001

## Tones

#4a4790, #4a498a, #4b4a84, #4c4c7e, #4c4d78, #4d4e72, #4e4f6c, #4f5066, #50515f, #515259

## Harmonies

- Complementary: #4a4790, #5f5300
- Split: #4a4790, #774500, #385f09
- Analogous: #4a4790, #165390, #683c80
- Triadic: #4a4790, #853713, #00653e
- Tetradic: #4a4790, #7c3464, #5f5300, #00653e
- Square: #4a4790, #863140, #5f5300, #006260
- Monochromatic: #4a4790, #140147, #2d256b, #6a6ab6, #8d8ede

## Questions about #4a4790

### What color is #4a4790?

#4a4790 is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(74, 71, 144), in HSL hsl(242.47, 33.95%, 42.16%) and in OKLCH oklch(43.904% 0.11689 282.306).

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

The complementary color of #4a4790 is #5f5300. For a calmer combination use the analogous colors #165390 and #683c80. The triadic partners are #853713 and #00653e.

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

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

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

#4a4790 is a cool color. In OKLCH its hue is 282 degrees, its lightness 43.9% and its chroma 0.117.
