# #4a488b color: Moonlight Sonata

#4a488b is rgb(74, 72, 139) in RGB and oklch(43.77% 0.10792 282.326) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4a488b |
| RGB | rgb(74, 72, 139) |
| HSL | hsl(241.79, 31.75%, 41.37%) |
| HSB / HSV | hsv(241.79 48.2% 54.51%) |
| HWB | hwb(241.79 28.24% 45.49%) |
| CMYK | cmyk(47% 48% 0% 45%) |
| Lab | lab(33.42 15.24 -37.72) |
| LCH | lch(33.42 40.68 292) |
| OKLab | oklab(43.77% 0.02304 -0.10543) |
| OKLCH | oklch(43.77% 0.10792 282.326) |
| Display P3 | color(display-p3 0.28882 0.28262 0.52806) |
| Rec. 2020 | color(rec2020 0.24438 0.22698 0.47696) |
| Adobe RGB | color(a98-rgb 0.29341 0.28815 0.53262) |
| ProPhoto RGB | color(prophoto-rgb 0.26874 0.22934 0.44436) |
| Linear sRGB | color(srgb-linear 0.06848 0.0648 0.25818) |
| XYZ D65 | color(xyz-d65 0.09801 0.07955 0.25446) |
| XYZ D50 | color(xyz-d50 0.09176 0.07734 0.19161) |
| SwiftUI | Color(red: 0.29, green: 0.282, blue: 0.545) |
| UIKit | UIColor(red: 0.29, green: 0.282, blue: 0.545, alpha: 1) |
| Flutter / Compose | Color(0xFF4A488B) |
| Android XML | #4A488B |

## Facts

- Closest name: Moonlight Sonata
- Hue family: Indigo, soft dark indigo
- Closest Tailwind class: slate-600
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 8.11:1
- Contrast with black: 2.59:1

## Tints

#4a488b, #5a5997, #6a6ba3, #7b7daf, #8c8eba, #9ea1c6, #b1b3d1, #c4c6dd, #d7d9e8, #ebecf4

## Shades

#4a488b, #3f3d78, #353366, #2a2954, #201f43, #171632, #0e0d23, #060614, #020207, #000001

## Tones

#4a488b, #4a4a85, #4b4b80, #4c4c7a, #4c4d75, #4d4e6f, #4e4f69, #4f5064, #50515e, #515158

## Harmonies

- Complementary: #4a488b, #5e5300
- Split: #4a488b, #754600, #3a5e15
- Analogous: #4a488b, #1d538b, #663e7c
- Triadic: #4a488b, #813a1b, #00633f
- Tetradic: #4a488b, #793662, #5e5300, #00633f
- Square: #4a488b, #823441, #5e5300, #006160
- Monochromatic: #4a488b, #130443, #2c2766, #6b6bb1, #8d8fd8

## Questions about #4a488b

### What color is #4a488b?

#4a488b is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(74, 72, 139), in HSL hsl(241.79, 31.75%, 41.37%) and in OKLCH oklch(43.77% 0.10792 282.326).

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

The complementary color of #4a488b is #5e5300. For a calmer combination use the analogous colors #1d538b and #663e7c. The triadic partners are #813a1b and #00633f.

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

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

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

#4a488b is a cool color. In OKLCH its hue is 282 degrees, its lightness 43.8% and its chroma 0.108.
