# #4a498e color: Moonlight Sonata

#4a498e is rgb(74, 73, 142) in RGB and oklch(44.173% 0.11092 281.509) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4a498e |
| RGB | rgb(74, 73, 142) |
| HSL | hsl(240.87, 32.09%, 42.16%) |
| HSB / HSV | hsv(240.87 48.59% 55.69%) |
| HWB | hwb(240.87 28.63% 44.31%) |
| CMYK | cmyk(48% 49% 0% 44%) |
| Lab | lab(33.86 15.4 -38.86) |
| LCH | lch(33.86 41.8 291.61) |
| OKLab | oklab(44.173% 0.02213 -0.10869) |
| OKLCH | oklch(44.173% 0.11092 281.509) |
| Display P3 | color(display-p3 0.2895 0.28641 0.53935) |
| Rec. 2020 | color(rec2020 0.24669 0.23092 0.489) |
| Adobe RGB | color(a98-rgb 0.29444 0.29181 0.54397) |
| ProPhoto RGB | color(prophoto-rgb 0.27243 0.23282 0.4558) |
| Linear sRGB | color(srgb-linear 0.06848 0.06663 0.2705) |
| XYZ D65 | color(xyz-d65 0.10088 0.08174 0.26638) |
| XYZ D50 | color(xyz-d50 0.09422 0.0794 0.20058) |
| SwiftUI | Color(red: 0.29, green: 0.286, blue: 0.557) |
| UIKit | UIColor(red: 0.29, green: 0.286, blue: 0.557, alpha: 1) |
| Flutter / Compose | Color(0xFF4A498E) |
| Android XML | #4A498E |

## 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: 7.97:1
- Contrast with black: 2.63:1

## Tints

#4a498e, #5a5a9a, #6a6ca5, #7b7db1, #8c8fbc, #9ea1c8, #b1b4d3, #c4c6de, #d7d9e9, #ebecf4

## Shades

#4a498e, #3f3e7b, #353468, #2a2a56, #202044, #171734, #0e0e24, #060615, #020207, #000001

## Tones

#4a498e, #4b4b88, #4b4c83, #4c4d7d, #4d4e77, #4e4f71, #4f506b, #505165, #51525f, #525259

## Harmonies

- Complementary: #4a498e, #605400
- Split: #4a498e, #784600, #3c5f11
- Analogous: #4a498e, #1a558e, #673e7f
- Triadic: #4a498e, #843a1b, #00653f
- Tetradic: #4a498e, #7a3764, #605400, #00653f
- Square: #4a498e, #853443, #605400, #006360
- Monochromatic: #4a498e, #130446, #2c2769, #6b6cb4, #8d90dc

## Questions about #4a498e

### What color is #4a498e?

#4a498e is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(74, 73, 142), in HSL hsl(240.87, 32.09%, 42.16%) and in OKLCH oklch(44.173% 0.11092 281.509).

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

The complementary color of #4a498e is #605400. For a calmer combination use the analogous colors #1a558e and #673e7f. The triadic partners are #843a1b and #00653f.

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

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

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

#4a498e is a cool color. In OKLCH its hue is 282 degrees, its lightness 44.2% and its chroma 0.111.
