# #4b438a color: Moonlight Sonata

#4b438a is rgb(75, 67, 138) in RGB and oklch(42.786% 0.11397 285.654) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4b438a |
| RGB | rgb(75, 67, 138) |
| HSL | hsl(246.76, 34.63%, 40.2%) |
| HSB / HSV | hsv(246.76 51.45% 54.12%) |
| HWB | hwb(246.76 26.27% 45.88%) |
| CMYK | cmyk(46% 51% 0% 46%) |
| Lab | lab(32.1 18.34 -39.21) |
| LCH | lch(32.1 43.28 295.07) |
| OKLab | oklab(42.786% 0.03075 -0.10975) |
| OKLCH | oklch(42.786% 0.11397 285.654) |
| Display P3 | color(display-p3 0.28884 0.26386 0.52374) |
| Rec. 2020 | color(rec2020 0.24056 0.20916 0.47221) |
| Adobe RGB | color(a98-rgb 0.29117 0.26993 0.52851) |
| ProPhoto RGB | color(prophoto-rgb 0.26485 0.21546 0.43958) |
| Linear sRGB | color(srgb-linear 0.07036 0.05613 0.25415) |
| XYZ D65 | color(xyz-d65 0.09496 0.07345 0.24963) |
| XYZ D50 | color(xyz-d50 0.08866 0.0713 0.18792) |
| SwiftUI | Color(red: 0.294, green: 0.263, blue: 0.541) |
| UIKit | UIColor(red: 0.294, green: 0.263, blue: 0.541, alpha: 1) |
| Flutter / Compose | Color(0xFF4B438A) |
| Android XML | #4B438A |

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

## Tints

#4b438a, #5a5596, #6b67a2, #7b79ae, #8d8cba, #9f9ec6, #b1b1d1, #c4c4dd, #d7d7e8, #ebebf4

## Shades

#4b438a, #403977, #352f65, #2b2653, #211d42, #171432, #0e0c22, #060514, #020107, #000001

## Tones

#4b438a, #4b4584, #4b477f, #4b4879, #4c4973, #4c4b6d, #4d4c67, #4d4d62, #4e4e5c, #4e4e55

## Harmonies

- Complementary: #4b438a, #585100
- Split: #4b438a, #714400, #305c12
- Analogous: #4b438a, #1e4f8c, #673879
- Triadic: #4b438a, #80360a, #006240
- Tetradic: #4b438a, #79315d, #585100, #006240
- Square: #4b438a, #822f3a, #585100, #005e5f
- Monochromatic: #4b438a, #140042, #2d2165, #6c66b0, #8e8ad7

## Questions about #4b438a

### What color is #4b438a?

#4b438a is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(75, 67, 138), in HSL hsl(246.76, 34.63%, 40.2%) and in OKLCH oklch(42.786% 0.11397 285.654).

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

The complementary color of #4b438a is #585100. For a calmer combination use the analogous colors #1e4f8c and #673879. The triadic partners are #80360a and #006240.

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

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

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

#4b438a is a cool color. In OKLCH its hue is 286 degrees, its lightness 42.8% and its chroma 0.114.
