# #42518c color: Demon Blue

#42518c is rgb(66, 81, 140) in RGB and oklch(45.139% 0.09829 271.246) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #42518c |
| RGB | rgb(66, 81, 140) |
| HSL | hsl(227.84, 35.92%, 40.39%) |
| HSB / HSV | hsv(227.84 52.86% 54.9%) |
| HWB | hwb(227.84 25.88% 45.1%) |
| CMYK | cmyk(53% 42% 0% 45%) |
| Lab | lab(35.4 7.71 -35.25) |
| LCH | lch(35.4 36.08 282.34) |
| OKLab | oklab(45.139% 0.00214 -0.09826) |
| OKLCH | oklch(45.139% 0.09829 271.246) |
| Display P3 | color(display-p3 0.27037 0.3159 0.53281) |
| Rec. 2020 | color(rec2020 0.23848 0.25822 0.48233) |
| Adobe RGB | color(a98-rgb 0.28325 0.32121 0.53707) |
| ProPhoto RGB | color(prophoto-rgb 0.26705 0.2536 0.45) |
| Linear sRGB | color(srgb-linear 0.05448 0.08228 0.26225) |
| XYZ D65 | color(xyz-d65 0.09922 0.08936 0.26014) |
| XYZ D50 | color(xyz-d50 0.09297 0.08701 0.19602) |
| SwiftUI | Color(red: 0.259, green: 0.318, blue: 0.549) |
| UIKit | UIColor(red: 0.259, green: 0.318, blue: 0.549, alpha: 1) |
| Flutter / Compose | Color(0xFF42518C) |
| Android XML | #42518C |

## Facts

- Closest name: Demon Blue
- Hue family: Indigo, muted dark indigo
- Closest Tailwind class: sky-800
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 7.53:1
- Contrast with black: 2.79:1

## Tints

#42518c, #536298, #6472a3, #7683af, #8894bb, #9ba5c6, #aeb7d2, #c2c8dd, #d6dae8, #eaedf4

## Shades

#42518c, #384579, #2f3a67, #252f55, #1c2443, #141a33, #0b1023, #050714, #010207, #000001

## Tones

#42518c, #445287, #465381, #48537c, #4a5477, #4b5471, #4d556c, #4f5567, #515561, #53555b

## Harmonies

- Complementary: #42518c, #6a5300
- Split: #42518c, #7c470d, #4e5d13
- Analogous: #42518c, #115b87, #5f4783
- Triadic: #42518c, #833e32, #226538
- Tetradic: #42518c, #743f6e, #6a5300, #226538
- Square: #42518c, #813c52, #6a5300, #006759
- Monochromatic: #42518c, #0b0f45, #243067, #6374b2, #8598d9

## Questions about #42518c

### What color is #42518c?

#42518c is muted dark indigo. The closest named color is Demon Blue. In RGB it is rgb(66, 81, 140), in HSL hsl(227.84, 35.92%, 40.39%) and in OKLCH oklch(45.139% 0.09829 271.246).

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

The complementary color of #42518c is #6a5300. For a calmer combination use the analogous colors #115b87 and #5f4783. The triadic partners are #833e32 and #226538.

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

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

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

#42518c is a cool color. In OKLCH its hue is 271 degrees, its lightness 45.1% and its chroma 0.098.
