# #4a498a color: Moonlight Sonata

#4a498a is rgb(74, 73, 138) in RGB and oklch(43.91% 0.10489 281.874) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4a498a |
| RGB | rgb(74, 73, 138) |
| HSL | hsl(240.92, 30.81%, 41.37%) |
| HSB / HSV | hsv(240.92 47.1% 54.12%) |
| HWB | hwb(240.92 28.63% 45.88%) |
| CMYK | cmyk(46% 47% 0% 46%) |
| Lab | lab(33.65 14.37 -36.75) |
| LCH | lch(33.65 39.46 291.36) |
| OKLab | oklab(43.91% 0.02158 -0.10264) |
| OKLCH | oklch(43.91% 0.10489 281.874) |
| Display P3 | color(display-p3 0.2895 0.28641 0.52448) |
| Rec. 2020 | color(rec2020 0.24525 0.23052 0.47319) |
| Adobe RGB | color(a98-rgb 0.29444 0.29181 0.52893) |
| ProPhoto RGB | color(prophoto-rgb 0.2688 0.232 0.44086) |
| Linear sRGB | color(srgb-linear 0.06848 0.06663 0.25415) |
| XYZ D65 | color(xyz-d65 0.09793 0.08056 0.25084) |
| XYZ D50 | color(xyz-d50 0.09189 0.07841 0.18891) |
| SwiftUI | Color(red: 0.29, green: 0.286, blue: 0.541) |
| UIKit | UIColor(red: 0.29, green: 0.286, blue: 0.541, alpha: 1) |
| Flutter / Compose | Color(0xFF4A498A) |
| Android XML | #4A498A |

## 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.04:1
- Contrast with black: 2.61:1

## Tints

#4a498a, #5a5a96, #6a6ca2, #7b7dae, #8c8fba, #9fa1c5, #b1b3d1, #c4c6dc, #d7d9e8, #ebecf4

## Shades

#4a498a, #3f3e77, #353465, #2a2a53, #202042, #171732, #0e0e22, #060614, #020207, #000001

## Tones

#4a498a, #4b4a85, #4b4c7f, #4c4d7a, #4d4e74, #4d4f6f, #4e5069, #4f5064, #50515e, #515258

## Harmonies

- Complementary: #4a498a, #5e5300
- Split: #4a498a, #754600, #3c5e18
- Analogous: #4a498a, #1f548a, #653f7c
- Triadic: #4a498a, #813b1e, #006340
- Tetradic: #4a498a, #783862, #5e5300, #006340
- Square: #4a498a, #813643, #5e5300, #006260
- Monochromatic: #4a498a, #130542, #2c2865, #6b6cb0, #8e90d7

## Questions about #4a498a

### What color is #4a498a?

#4a498a is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(74, 73, 138), in HSL hsl(240.92, 30.81%, 41.37%) and in OKLCH oklch(43.91% 0.10489 281.874).

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

The complementary color of #4a498a is #5e5300. For a calmer combination use the analogous colors #1f548a and #653f7c. The triadic partners are #813b1e and #006340.

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

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

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

#4a498a is a cool color. In OKLCH its hue is 282 degrees, its lightness 43.9% and its chroma 0.105.
