# #4b4285 color: Moonlight Sonata

#4b4285 is rgb(75, 66, 133) in RGB and oklch(42.25% 0.10812 286.978) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4b4285 |
| RGB | rgb(75, 66, 133) |
| HSL | hsl(248.06, 33.67%, 39.02%) |
| HSB / HSV | hsv(248.06 50.38% 52.16%) |
| HWB | hwb(248.06 25.88% 47.84%) |
| CMYK | cmyk(44% 50% 0% 48%) |
| Lab | lab(31.56 17.71 -36.99) |
| LCH | lch(31.56 41.01 295.58) |
| OKLab | oklab(42.25% 0.03157 -0.10341) |
| OKLCH | oklch(42.25% 0.10812 286.978) |
| Display P3 | color(display-p3 0.28822 0.26009 0.50501) |
| Rec. 2020 | color(rec2020 0.23766 0.20506 0.45231) |
| Adobe RGB | color(a98-rgb 0.29023 0.26629 0.50968) |
| ProPhoto RGB | color(prophoto-rgb 0.2595 0.21166 0.42086) |
| Linear sRGB | color(srgb-linear 0.07036 0.05448 0.23455) |
| XYZ D65 | color(xyz-d65 0.09083 0.07086 0.2308) |
| XYZ D50 | color(xyz-d50 0.08522 0.06893 0.17376) |
| SwiftUI | Color(red: 0.294, green: 0.259, blue: 0.522) |
| UIKit | UIColor(red: 0.294, green: 0.259, blue: 0.522, alpha: 1) |
| Flutter / Compose | Color(0xFF4B4285) |
| Android XML | #4B4285 |

## Facts

- Closest name: Moonlight Sonata
- Hue family: Violet, soft dark violet
- Closest Tailwind class: blue-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 8.69:1
- Contrast with black: 2.42:1

## Tints

#4b4285, #5a5491, #6b669e, #7c78aa, #8d8bb6, #9f9dc3, #b1b0cf, #c4c4db, #d7d7e7, #ebebf3

## Shades

#4b4285, #403873, #352f61, #2b2550, #211c40, #171430, #0e0b21, #060513, #020106, #000001

## Tones

#4b4285, #4b4480, #4b457a, #4b4775, #4b4870, #4c496a, #4c4a65, #4c4b5f, #4d4c59, #4d4d54

## Harmonies

- Complementary: #4b4285, #555100
- Split: #4b4285, #6e4400, #2e5b18
- Analogous: #4b4285, #234d87, #653874
- Triadic: #4b4285, #7b370d, #005f41
- Tetradic: #4b4285, #763159, #555100, #005f41
- Square: #4b4285, #7e3038, #555100, #005c5f
- Monochromatic: #4b4285, #14003e, #2d2161, #6c64ab, #8f88d2

## Questions about #4b4285

### What color is #4b4285?

#4b4285 is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(75, 66, 133), in HSL hsl(248.06, 33.67%, 39.02%) and in OKLCH oklch(42.25% 0.10812 286.978).

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

The complementary color of #4b4285 is #555100. For a calmer combination use the analogous colors #234d87 and #653874. The triadic partners are #7b370d and #005f41.

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

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

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

#4b4285 is a cool color. In OKLCH its hue is 287 degrees, its lightness 42.3% and its chroma 0.108.
