# #4b488b color: Moonlight Sonata

#4b488b is rgb(75, 72, 139) in RGB and oklch(43.854% 0.10777 283.03) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4b488b |
| RGB | rgb(75, 72, 139) |
| HSL | hsl(242.69, 31.75%, 41.37%) |
| HSB / HSV | hsv(242.69 48.2% 54.51%) |
| HWB | hwb(242.69 28.24% 45.49%) |
| CMYK | cmyk(46% 48% 0% 45%) |
| Lab | lab(33.51 15.53 -37.57) |
| LCH | lch(33.51 40.66 292.46) |
| OKLab | oklab(43.854% 0.0243 -0.105) |
| OKLCH | oklch(43.854% 0.10777 283.03) |
| Display P3 | color(display-p3 0.29207 0.28275 0.5281) |
| Rec. 2020 | color(rec2020 0.24679 0.22727 0.477) |
| Adobe RGB | color(a98-rgb 0.29606 0.28815 0.53262) |
| ProPhoto RGB | color(prophoto-rgb 0.27032 0.22968 0.44439) |
| Linear sRGB | color(srgb-linear 0.07036 0.0648 0.25818) |
| XYZ D65 | color(xyz-d65 0.09879 0.07995 0.2545) |
| XYZ D50 | color(xyz-d50 0.09258 0.07776 0.19164) |
| SwiftUI | Color(red: 0.294, green: 0.282, blue: 0.545) |
| UIKit | UIColor(red: 0.294, green: 0.282, blue: 0.545, alpha: 1) |
| Flutter / Compose | Color(0xFF4B488B) |
| Android XML | #4B488B |

## 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.08:1
- Contrast with black: 2.6:1

## Tints

#4b488b, #5a5997, #6b6ba3, #7c7daf, #8d8eba, #9fa1c6, #b1b3d1, #c4c6dd, #d7d8e8, #ebecf4

## Shades

#4b488b, #403d78, #353366, #2b2954, #211f43, #171632, #0e0d23, #060614, #020207, #000001

## Tones

#4b488b, #4b4a86, #4c4b80, #4c4c7a, #4d4d75, #4e4e6f, #4e4f6a, #4f5064, #50515e, #515158

## Harmonies

- Complementary: #4b488b, #5e5300
- Split: #4b488b, #754600, #395e17
- Analogous: #4b488b, #1f538b, #673e7c
- Triadic: #4b488b, #813a1a, #006440
- Tetradic: #4b488b, #793762, #5e5300, #006440
- Square: #4b488b, #833541, #5e5300, #006260
- Monochromatic: #4b488b, #140443, #2d2766, #6c6bb1, #8f8fd8

## Questions about #4b488b

### What color is #4b488b?

#4b488b is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(75, 72, 139), in HSL hsl(242.69, 31.75%, 41.37%) and in OKLCH oklch(43.854% 0.10777 283.03).

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

The complementary color of #4b488b is #5e5300. For a calmer combination use the analogous colors #1f538b and #673e7c. The triadic partners are #813a1a and #006440.

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

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

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

#4b488b is a cool color. In OKLCH its hue is 283 degrees, its lightness 43.9% and its chroma 0.108.
