# #4b438b color: Moonlight Sonata

#4b438b is rgb(75, 67, 139) in RGB and oklch(42.855% 0.11545 285.497) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4b438b |
| RGB | rgb(75, 67, 139) |
| HSL | hsl(246.67, 34.95%, 40.39%) |
| HSB / HSV | hsv(246.67 51.8% 54.51%) |
| HWB | hwb(246.67 26.27% 45.49%) |
| CMYK | cmyk(46% 52% 0% 45%) |
| Lab | lab(32.16 18.59 -39.73) |
| LCH | lch(32.16 43.87 295.08) |
| OKLab | oklab(42.855% 0.03085 -0.11125) |
| OKLCH | oklch(42.855% 0.11545 285.497) |
| Display P3 | color(display-p3 0.28884 0.26386 0.52746) |
| Rec. 2020 | color(rec2020 0.24093 0.20927 0.47616) |
| Adobe RGB | color(a98-rgb 0.29117 0.26993 0.53227) |
| ProPhoto RGB | color(prophoto-rgb 0.26576 0.21568 0.4433) |
| Linear sRGB | color(srgb-linear 0.07036 0.05613 0.25818) |
| XYZ D65 | color(xyz-d65 0.09568 0.07374 0.25346) |
| XYZ D50 | color(xyz-d50 0.08924 0.07154 0.1908) |
| SwiftUI | Color(red: 0.294, green: 0.263, blue: 0.545) |
| UIKit | UIColor(red: 0.294, green: 0.263, blue: 0.545, alpha: 1) |
| Flutter / Compose | Color(0xFF4B438B) |
| Android XML | #4B438B |

## 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.49:1
- Contrast with black: 2.47:1

## Tints

#4b438b, #5a5597, #6b67a3, #7b79af, #8d8cba, #9f9ec6, #b1b1d2, #c4c4dd, #d7d8e8, #ebebf4

## Shades

#4b438b, #403978, #352f66, #2b2654, #211d43, #171432, #0e0c23, #060514, #020107, #000001

## Tones

#4b438b, #4b4585, #4b477f, #4b487a, #4c4a74, #4c4b6e, #4d4c68, #4d4d62, #4e4e5c, #4f4f56

## Harmonies

- Complementary: #4b438b, #595200
- Split: #4b438b, #714400, #305d10
- Analogous: #4b438b, #1d4f8d, #67387a
- Triadic: #4b438b, #803609, #006240
- Tetradic: #4b438b, #7a315d, #595200, #006240
- Square: #4b438b, #832f3a, #595200, #005e5f
- Monochromatic: #4b438b, #140043, #2d2166, #6c66b1, #8e8ad9

## Questions about #4b438b

### What color is #4b438b?

#4b438b is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(75, 67, 139), in HSL hsl(246.67, 34.95%, 40.39%) and in OKLCH oklch(42.855% 0.11545 285.497).

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

The complementary color of #4b438b is #595200. For a calmer combination use the analogous colors #1d4f8d and #67387a. The triadic partners are #803609 and #006240.

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

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

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

#4b438b is a cool color. In OKLCH its hue is 285 degrees, its lightness 42.9% and its chroma 0.115.
