# #4a498f color: Moonlight Sonata

#4a498f is rgb(74, 73, 143) in RGB and oklch(44.239% 0.11241 281.419) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4a498f |
| RGB | rgb(74, 73, 143) |
| HSL | hsl(240.86, 32.41%, 42.35%) |
| HSB / HSV | hsv(240.86 48.95% 56.08%) |
| HWB | hwb(240.86 28.63% 43.92%) |
| CMYK | cmyk(48% 49% 0% 44%) |
| Lab | lab(33.91 15.65 -39.39) |
| LCH | lch(33.91 42.38 291.68) |
| OKLab | oklab(44.239% 0.02226 -0.11019) |
| OKLCH | oklch(44.239% 0.11241 281.419) |
| Display P3 | color(display-p3 0.2895 0.28641 0.54307) |
| Rec. 2020 | color(rec2020 0.24706 0.23102 0.49296) |
| Adobe RGB | color(a98-rgb 0.29444 0.29181 0.54774) |
| ProPhoto RGB | color(prophoto-rgb 0.27335 0.23303 0.45955) |
| Linear sRGB | color(srgb-linear 0.06848 0.06663 0.27468) |
| XYZ D65 | color(xyz-d65 0.10164 0.08204 0.27035) |
| XYZ D50 | color(xyz-d50 0.09482 0.07965 0.20357) |
| SwiftUI | Color(red: 0.29, green: 0.286, blue: 0.561) |
| UIKit | UIColor(red: 0.29, green: 0.286, blue: 0.561, alpha: 1) |
| Flutter / Compose | Color(0xFF4A498F) |
| Android XML | #4A498F |

## 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: 7.95:1
- Contrast with black: 2.64:1

## Tints

#4a498f, #5a5a9b, #6a6ca6, #7b7eb2, #8c8fbd, #9ea1c8, #b1b4d3, #c4c6de, #d7d9e9, #ebecf4

## Shades

#4a498f, #3f3e7c, #353469, #2a2a57, #202045, #171734, #0e0e24, #060615, #020207, #000001

## Tones

#4a498f, #4b4b89, #4b4c83, #4c4d7e, #4d4e78, #4e5072, #4f506c, #505166, #515260, #525359

## Harmonies

- Complementary: #4a498f, #615400
- Split: #4a498f, #794600, #3c5f0f
- Analogous: #4a498f, #19558f, #673e80
- Triadic: #4a498f, #85391a, #00653f
- Tetradic: #4a498f, #7b3665, #615400, #00653f
- Square: #4a498f, #853443, #615400, #006360
- Monochromatic: #4a498f, #140447, #2c276a, #6b6cb5, #8d90dd

## Questions about #4a498f

### What color is #4a498f?

#4a498f is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(74, 73, 143), in HSL hsl(240.86, 32.41%, 42.35%) and in OKLCH oklch(44.239% 0.11241 281.419).

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

The complementary color of #4a498f is #615400. For a calmer combination use the analogous colors #19558f and #673e80. The triadic partners are #85391a and #00653f.

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

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

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

#4a498f is a cool color. In OKLCH its hue is 281 degrees, its lightness 44.2% and its chroma 0.112.
