# #4b438d color: Moonlight Sonata

#4b438d is rgb(75, 67, 141) in RGB and oklch(42.994% 0.11838 285.188) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4b438d |
| RGB | rgb(75, 67, 141) |
| HSL | hsl(246.49, 35.58%, 40.78%) |
| HSB / HSV | hsv(246.49 52.48% 55.29%) |
| HWB | hwb(246.49 26.27% 44.71%) |
| CMYK | cmyk(47% 52% 0% 45%) |
| Lab | lab(32.27 19.1 -40.78) |
| LCH | lch(32.27 45.03 295.1) |
| OKLab | oklab(42.994% 0.03101 -0.11425) |
| OKLCH | oklch(42.994% 0.11838 285.188) |
| Display P3 | color(display-p3 0.28884 0.26386 0.53491) |
| Rec. 2020 | color(rec2020 0.24166 0.20948 0.48408) |
| Adobe RGB | color(a98-rgb 0.29117 0.26993 0.5398) |
| ProPhoto RGB | color(prophoto-rgb 0.2676 0.21611 0.45079) |
| Linear sRGB | color(srgb-linear 0.07036 0.05613 0.26636) |
| XYZ D65 | color(xyz-d65 0.09716 0.07433 0.26123) |
| XYZ D50 | color(xyz-d50 0.09041 0.07204 0.19663) |
| SwiftUI | Color(red: 0.294, green: 0.263, blue: 0.553) |
| UIKit | UIColor(red: 0.294, green: 0.263, blue: 0.553, alpha: 1) |
| Flutter / Compose | Color(0xFF4B438D) |
| Android XML | #4B438D |

## 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.45:1
- Contrast with black: 2.49:1

## Tints

#4b438d, #5a5599, #6a67a5, #7b79b0, #8d8cbc, #9f9ec7, #b1b1d3, #c4c4de, #d7d8e9, #ebebf4

## Shades

#4b438d, #40397a, #352f67, #2b2655, #211d44, #171433, #0e0c23, #060514, #020107, #000001

## Tones

#4b438d, #4b4587, #4b4781, #4c487b, #4c4a75, #4c4b6f, #4d4c69, #4d4d63, #4e4e5d, #4f4f56

## Harmonies

- Complementary: #4b438d, #595200
- Split: #4b438d, #724400, #305d0c
- Analogous: #4b438d, #1a4f8f, #68387b
- Triadic: #4b438d, #823506, #006240
- Tetradic: #4b438d, #7b305e, #595200, #006240
- Square: #4b438d, #842e3a, #595200, #005f60
- Monochromatic: #4b438d, #150045, #2d2168, #6b66b3, #8e8adb

## Questions about #4b438d

### What color is #4b438d?

#4b438d is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(75, 67, 141), in HSL hsl(246.49, 35.58%, 40.78%) and in OKLCH oklch(42.994% 0.11838 285.188).

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

The complementary color of #4b438d is #595200. For a calmer combination use the analogous colors #1a4f8f and #68387b. The triadic partners are #823506 and #006240.

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

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

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

#4b438d is a cool color. In OKLCH its hue is 285 degrees, its lightness 43% and its chroma 0.118.
