# #4a498b color: Moonlight Sonata

#4a498b is rgb(74, 73, 139) in RGB and oklch(43.975% 0.1064 281.782) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4a498b |
| RGB | rgb(74, 73, 139) |
| HSL | hsl(240.91, 31.13%, 41.57%) |
| HSB / HSV | hsv(240.91 47.48% 54.51%) |
| HWB | hwb(240.91 28.63% 45.49%) |
| CMYK | cmyk(47% 47% 0% 45%) |
| Lab | lab(33.7 14.63 -37.28) |
| LCH | lch(33.7 40.05 291.42) |
| OKLab | oklab(43.975% 0.02173 -0.10416) |
| OKLCH | oklch(43.975% 0.1064 281.782) |
| Display P3 | color(display-p3 0.2895 0.28641 0.5282) |
| Rec. 2020 | color(rec2020 0.24561 0.23062 0.47714) |
| Adobe RGB | color(a98-rgb 0.29444 0.29181 0.53269) |
| ProPhoto RGB | color(prophoto-rgb 0.2697 0.2322 0.44458) |
| Linear sRGB | color(srgb-linear 0.06848 0.06663 0.25818) |
| XYZ D65 | color(xyz-d65 0.09866 0.08085 0.25468) |
| XYZ D50 | color(xyz-d50 0.09246 0.07865 0.19179) |
| SwiftUI | Color(red: 0.29, green: 0.286, blue: 0.545) |
| UIKit | UIColor(red: 0.29, green: 0.286, blue: 0.545, alpha: 1) |
| Flutter / Compose | Color(0xFF4A498B) |
| Android XML | #4A498B |

## 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.02:1
- Contrast with black: 2.62:1

## Tints

#4a498b, #5a5a97, #6a6ca3, #7b7daf, #8c8fba, #9fa1c6, #b1b3d1, #c4c6dd, #d7d9e8, #ebecf4

## Shades

#4a498b, #3f3e78, #353466, #2a2a54, #202043, #171732, #0e0e23, #060614, #020207, #000001

## Tones

#4a498b, #4b4a86, #4b4c80, #4c4d7b, #4d4e75, #4d4f6f, #4e506a, #4f5164, #50515e, #515258

## Harmonies

- Complementary: #4a498b, #5f5300
- Split: #4a498b, #764600, #3c5e16
- Analogous: #4a498b, #1e548b, #663f7d
- Triadic: #4a498b, #813b1d, #00643f
- Tetradic: #4a498b, #793863, #5f5300, #00643f
- Square: #4a498b, #823543, #5f5300, #006260
- Monochromatic: #4a498b, #130543, #2c2866, #6b6cb1, #8e90d8

## Questions about #4a498b

### What color is #4a498b?

#4a498b is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(74, 73, 139), in HSL hsl(240.91, 31.13%, 41.57%) and in OKLCH oklch(43.975% 0.1064 281.782).

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

The complementary color of #4a498b is #5f5300. For a calmer combination use the analogous colors #1e548b and #663f7d. The triadic partners are #813b1d and #00643f.

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

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

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

#4a498b is a cool color. In OKLCH its hue is 282 degrees, its lightness 44% and its chroma 0.106.
