# #40538e color: Demon Blue

#40538e is rgb(64, 83, 142) in RGB and oklch(45.573% 0.0993 268.778) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/40538e

## Formats

| Format | Value |
| --- | --- |
| HEX | #40538e |
| RGB | rgb(64, 83, 142) |
| HSL | hsl(225.38, 37.86%, 40.39%) |
| HSB / HSV | hsv(225.38 54.93% 55.69%) |
| HWB | hwb(225.38 25.1% 44.31%) |
| CMYK | cmyk(55% 42% 0% 44%) |
| Lab | lab(35.95 6.5 -35.61) |
| LCH | lch(35.95 36.19 280.35) |
| OKLab | oklab(45.573% -0.00212 -0.09927) |
| OKLCH | oklch(45.573% 0.0993 268.778) |
| Display P3 | color(display-p3 0.26601 0.32334 0.54047) |
| Rec. 2020 | color(rec2020 0.23792 0.26545 0.49055) |
| Adobe RGB | color(a98-rgb 0.28098 0.32859 0.54474) |
| ProPhoto RGB | color(prophoto-rgb 0.2684 0.25953 0.45793) |
| Linear sRGB | color(srgb-linear 0.05127 0.0865 0.2705) |
| XYZ D65 | color(xyz-d65 0.10089 0.09229 0.26842) |
| XYZ D50 | color(xyz-d50 0.09438 0.08982 0.20227) |
| SwiftUI | Color(red: 0.251, green: 0.325, blue: 0.557) |
| UIKit | UIColor(red: 0.251, green: 0.325, blue: 0.557, alpha: 1) |
| Flutter / Compose | Color(0xFF40538E) |
| Android XML | #40538E |

## Facts

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

## Tints

#40538e, #51639a, #6274a5, #7484b0, #8795bc, #9aa6c7, #adb8d2, #c1c9de, #d5dbe9, #eaedf4

## Shades

#40538e, #36477b, #2d3b68, #243056, #1b2544, #131b34, #0b1124, #050815, #010207, #000001

## Tones

#40538e, #425489, #445483, #47557e, #495679, #4b5673, #4e566e, #505668, #525762, #54575d

## Harmonies

- Complementary: #40538e, #6d5300
- Split: #40538e, #7f4711, #515e0f
- Analogous: #40538e, #085d88, #5f4986
- Triadic: #40538e, #853e36, #286636
- Tetradic: #40538e, #744172, #6d5300, #286636
- Square: #40538e, #823d56, #6d5300, #006858
- Monochromatic: #40538e, #091146, #223269, #6176b4, #839bdb

## Questions about #40538e

### What color is #40538e?

#40538e is muted dark blue. The closest named color is Demon Blue. In RGB it is rgb(64, 83, 142), in HSL hsl(225.38, 37.86%, 40.39%) and in OKLCH oklch(45.573% 0.0993 268.778).

### What colors go well with #40538e?

The complementary color of #40538e is #6d5300. For a calmer combination use the analogous colors #085d88 and #5f4986. The triadic partners are #853e36 and #286636.

### Is white or black text more readable on #40538e?

White text reads better on #40538e: white gives a contrast ratio of 7.38:1 and black gives 2.85:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #40538e a warm or cool color?

#40538e is a cool color. In OKLCH its hue is 269 degrees, its lightness 45.6% and its chroma 0.099.
