# #4b488c color: Moonlight Sonata

#4b488c is rgb(75, 72, 140) in RGB and oklch(43.92% 0.10928 282.918) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4b488c |
| RGB | rgb(75, 72, 140) |
| HSL | hsl(242.65, 32.08%, 41.57%) |
| HSB / HSV | hsv(242.65 48.57% 54.9%) |
| HWB | hwb(242.65 28.24% 45.1%) |
| CMYK | cmyk(46% 49% 0% 45%) |
| Lab | lab(33.56 15.79 -38.1) |
| LCH | lch(33.56 41.24 292.51) |
| OKLab | oklab(43.92% 0.02443 -0.10651) |
| OKLCH | oklch(43.92% 0.10928 282.918) |
| Display P3 | color(display-p3 0.29207 0.28275 0.53181) |
| Rec. 2020 | color(rec2020 0.24715 0.22737 0.48095) |
| Adobe RGB | color(a98-rgb 0.29606 0.28815 0.53638) |
| ProPhoto RGB | color(prophoto-rgb 0.27123 0.22988 0.44812) |
| Linear sRGB | color(srgb-linear 0.07036 0.0648 0.26225) |
| XYZ D65 | color(xyz-d65 0.09952 0.08024 0.25836) |
| XYZ D50 | color(xyz-d50 0.09316 0.07801 0.19454) |
| SwiftUI | Color(red: 0.294, green: 0.282, blue: 0.549) |
| UIKit | UIColor(red: 0.294, green: 0.282, blue: 0.549, alpha: 1) |
| Flutter / Compose | Color(0xFF4B488C) |
| Android XML | #4B488C |

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

## Tints

#4b488c, #5a5998, #6b6ba4, #7c7daf, #8d8fbb, #9fa1c6, #b1b3d2, #c4c6dd, #d7d9e9, #ebecf4

## Shades

#4b488c, #403d79, #353367, #2b2955, #211f43, #171633, #0e0d23, #060614, #020207, #000001

## Tones

#4b488c, #4b4a86, #4c4b81, #4c4c7b, #4d4d76, #4e4f70, #4f4f6a, #4f5064, #50515e, #515258

## Harmonies

- Complementary: #4b488c, #5e5400
- Split: #4b488c, #764600, #395e15
- Analogous: #4b488c, #1e538c, #673e7d
- Triadic: #4b488c, #823a19, #006440
- Tetradic: #4b488c, #7a3662, #5e5400, #006440
- Square: #4b488c, #833441, #5e5400, #006260
- Monochromatic: #4b488c, #140344, #2d2767, #6c6bb2, #8f8fd9

## Questions about #4b488c

### What color is #4b488c?

#4b488c is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(75, 72, 140), in HSL hsl(242.65, 32.08%, 41.57%) and in OKLCH oklch(43.92% 0.10928 282.918).

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

The complementary color of #4b488c is #5e5400. For a calmer combination use the analogous colors #1e538c and #673e7d. The triadic partners are #823a19 and #006440.

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

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

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

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