# #50498c color: Moonlight Sonata

#50498c is rgb(80, 73, 140) in RGB and oklch(44.553% 0.10717 285.956) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/50498c

## Formats

| Format | Value |
| --- | --- |
| HEX | #50498c |
| RGB | rgb(80, 73, 140) |
| HSL | hsl(246.27, 31.46%, 41.76%) |
| HSB / HSV | hsv(246.27 47.86% 54.9%) |
| HWB | hwb(246.27 28.63% 45.1%) |
| CMYK | cmyk(43% 48% 0% 45%) |
| Lab | lab(34.3 16.67 -36.91) |
| LCH | lch(34.3 40.5 294.31) |
| OKLab | oklab(44.553% 0.02946 -0.10304) |
| OKLCH | oklch(44.553% 0.10717 285.956) |
| Display P3 | color(display-p3 0.30906 0.28724 0.53211) |
| Rec. 2020 | color(rec2020 0.2606 0.23246 0.4813) |
| Adobe RGB | color(a98-rgb 0.31045 0.29181 0.53645) |
| ProPhoto RGB | color(prophoto-rgb 0.28029 0.23446 0.44852) |
| Linear sRGB | color(srgb-linear 0.08022 0.06663 0.26225) |
| XYZ D65 | color(xyz-d65 0.10424 0.08364 0.25877) |
| XYZ D50 | color(xyz-d50 0.09816 0.08151 0.19486) |
| SwiftUI | Color(red: 0.314, green: 0.286, blue: 0.549) |
| UIKit | UIColor(red: 0.314, green: 0.286, blue: 0.549, alpha: 1) |
| Flutter / Compose | Color(0xFF50498C) |
| Android XML | #50498C |

## 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.86:1
- Contrast with black: 2.67:1

## Tints

#50498c, #5f5a98, #6f6ca4, #7f7daf, #908fbb, #a2a1c6, #b4b3d2, #c6c6dd, #d9d9e8, #ececf4

## Shades

#50498c, #443e79, #393467, #2e2a55, #242043, #1a1733, #100e23, #070614, #020207, #000001

## Tones

#50498c, #504b87, #504c81, #514d7c, #514f76, #515071, #52516b, #525265, #535360, #53535a

## Harmonies

- Complementary: #50498c, #5d5700
- Split: #50498c, #754a00, #37611e
- Analogous: #50498c, #28548e, #6b3f7c
- Triadic: #50498c, #833d18, #006646
- Tetradic: #50498c, #7d3860, #5d5700, #006646
- Square: #50498c, #85373f, #5d5700, #006365
- Monochromatic: #50498c, #170544, #322867, #716cb2, #9490d9

## Questions about #50498c

### What color is #50498c?

#50498c is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(80, 73, 140), in HSL hsl(246.27, 31.46%, 41.76%) and in OKLCH oklch(44.553% 0.10717 285.956).

### What colors go well with #50498c?

The complementary color of #50498c is #5d5700. For a calmer combination use the analogous colors #28548e and #6b3f7c. The triadic partners are #833d18 and #006646.

### Is white or black text more readable on #50498c?

White text reads better on #50498c: white gives a contrast ratio of 7.86:1 and black gives 2.67:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #50498c a warm or cool color?

#50498c is a cool color. In OKLCH its hue is 286 degrees, its lightness 44.6% and its chroma 0.107.
