# #4b458d color: Moonlight Sonata

#4b458d is rgb(75, 69, 141) in RGB and oklch(43.386% 0.11534 284.277) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4b458d |
| RGB | rgb(75, 69, 141) |
| HSL | hsl(245, 34.29%, 41.18%) |
| HSB / HSV | hsv(245 51.06% 55.29%) |
| HWB | hwb(245 27.06% 44.71%) |
| CMYK | cmyk(47% 51% 0% 45%) |
| Lab | lab(32.8 17.88 -39.92) |
| LCH | lch(32.8 43.74 294.12) |
| OKLab | oklab(43.386% 0.02844 -0.11178) |
| OKLCH | oklch(43.386% 0.11534 284.277) |
| Display P3 | color(display-p3 0.2901 0.27141 0.53515) |
| Rec. 2020 | color(rec2020 0.24395 0.21665 0.4844) |
| Adobe RGB | color(a98-rgb 0.29309 0.27721 0.53993) |
| ProPhoto RGB | color(prophoto-rgb 0.26938 0.22165 0.4512) |
| Linear sRGB | color(srgb-linear 0.07036 0.05951 0.26636) |
| XYZ D65 | color(xyz-d65 0.09837 0.07675 0.26163) |
| XYZ D50 | color(xyz-d50 0.09171 0.07446 0.19696) |
| SwiftUI | Color(red: 0.294, green: 0.271, blue: 0.553) |
| UIKit | UIColor(red: 0.294, green: 0.271, blue: 0.553, alpha: 1) |
| Flutter / Compose | Color(0xFF4B458D) |
| Android XML | #4B458D |

## Facts

- Closest name: Moonlight Sonata
- Hue family: Indigo, soft dark indigo
- Closest Tailwind class: blue-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 8.28:1
- Contrast with black: 2.54:1

## Tints

#4b458d, #5a5799, #6b69a5, #7b7bb0, #8d8dbc, #9f9fc7, #b1b2d2, #c4c5de, #d7d8e9, #ebebf4

## Shades

#4b458d, #403b7a, #353167, #2b2755, #211e44, #171533, #0e0c23, #060514, #020207, #000001

## Tones

#4b458d, #4b4787, #4c4881, #4c4a7c, #4c4b76, #4d4d70, #4e4e6a, #4e4f64, #4f4f5d, #505057

## Harmonies

- Complementary: #4b458d, #5b5300
- Split: #4b458d, #744500, #345e0f
- Analogous: #4b458d, #1b518e, #683a7c
- Triadic: #4b458d, #82370f, #00643f
- Tetradic: #4b458d, #7b3260, #5b5300, #00643f
- Square: #4b458d, #84303d, #5b5300, #006060
- Monochromatic: #4b458d, #140045, #2d2368, #6c68b3, #8e8cdb

## Questions about #4b458d

### What color is #4b458d?

#4b458d is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(75, 69, 141), in HSL hsl(245, 34.29%, 41.18%) and in OKLCH oklch(43.386% 0.11534 284.277).

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

The complementary color of #4b458d is #5b5300. For a calmer combination use the analogous colors #1b518e and #683a7c. The triadic partners are #82370f and #00643f.

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

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

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

#4b458d is a cool color. In OKLCH its hue is 284 degrees, its lightness 43.4% and its chroma 0.115.
