# #4b488f color: Moonlight Sonata

#4b488f is rgb(75, 72, 143) in RGB and oklch(44.12% 0.11376 282.589) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4b488f |
| RGB | rgb(75, 72, 143) |
| HSL | hsl(242.54, 33.02%, 42.16%) |
| HSB / HSV | hsv(242.54 49.65% 56.08%) |
| HWB | hwb(242.54 28.24% 43.92%) |
| CMYK | cmyk(48% 50% 0% 44%) |
| Lab | lab(33.72 16.55 -39.68) |
| LCH | lch(33.72 42.99 292.65) |
| OKLab | oklab(44.12% 0.02479 -0.11102) |
| OKLCH | oklch(44.12% 0.11376 282.589) |
| Display P3 | color(display-p3 0.29207 0.28275 0.54297) |
| Rec. 2020 | color(rec2020 0.24824 0.22767 0.49282) |
| Adobe RGB | color(a98-rgb 0.29606 0.28815 0.54767) |
| ProPhoto RGB | color(prophoto-rgb 0.27397 0.23051 0.45936) |
| Linear sRGB | color(srgb-linear 0.07036 0.0648 0.27468) |
| XYZ D65 | color(xyz-d65 0.10176 0.08114 0.27017) |
| XYZ D50 | color(xyz-d50 0.09494 0.07876 0.20342) |
| SwiftUI | Color(red: 0.294, green: 0.282, blue: 0.561) |
| UIKit | UIColor(red: 0.294, green: 0.282, blue: 0.561, alpha: 1) |
| Flutter / Compose | Color(0xFF4B488F) |
| Android XML | #4B488F |

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

## Tints

#4b488f, #5a5a9b, #6b6ba6, #7b7db2, #8d8fbd, #9fa1c8, #b1b3d3, #c4c6de, #d7d9e9, #ebecf4

## Shades

#4b488f, #403d7c, #353369, #2b2957, #211f45, #171634, #0e0d24, #060615, #020207, #000001

## Tones

#4b488f, #4b4a89, #4c4b83, #4d4d7e, #4d4e78, #4e4f72, #4f506c, #505166, #51525f, #525259

## Harmonies

- Complementary: #4b488f, #5f5400
- Split: #4b488f, #784600, #395f10
- Analogous: #4b488f, #1a548f, #683d7f
- Triadic: #4b488f, #853917, #006540
- Tetradic: #4b488f, #7c3564, #5f5400, #006540
- Square: #4b488f, #863341, #5f5400, #006261
- Monochromatic: #4b488f, #140247, #2d266a, #6c6bb5, #8e8fdd

## Questions about #4b488f

### What color is #4b488f?

#4b488f is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(75, 72, 143), in HSL hsl(242.54, 33.02%, 42.16%) and in OKLCH oklch(44.12% 0.11376 282.589).

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

The complementary color of #4b488f is #5f5400. For a calmer combination use the analogous colors #1a548f and #683d7f. The triadic partners are #853917 and #006540.

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

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

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

#4b488f is a cool color. In OKLCH its hue is 283 degrees, its lightness 44.1% and its chroma 0.114.
