# #40548e color: Demon Blue

#40548e is rgb(64, 84, 142) in RGB and oklch(45.796% 0.09797 268.045) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #40548e |
| RGB | rgb(64, 84, 142) |
| HSL | hsl(224.62, 37.86%, 40.39%) |
| HSB / HSV | hsv(224.62 54.93% 55.69%) |
| HWB | hwb(224.62 25.1% 44.31%) |
| CMYK | cmyk(55% 41% 0% 44%) |
| Lab | lab(36.24 5.9 -35.14) |
| LCH | lch(36.24 35.63 279.53) |
| OKLab | oklab(45.796% -0.00334 -0.09792) |
| OKLCH | oklch(45.796% 0.09797 268.045) |
| Display P3 | color(display-p3 0.2669 0.32716 0.54062) |
| Rec. 2020 | color(rec2020 0.2394 0.2692 0.49075) |
| Adobe RGB | color(a98-rgb 0.28225 0.33229 0.54483) |
| ProPhoto RGB | color(prophoto-rgb 0.26953 0.2626 0.45819) |
| Linear sRGB | color(srgb-linear 0.05127 0.08866 0.2705) |
| XYZ D65 | color(xyz-d65 0.10166 0.09383 0.26868) |
| XYZ D50 | color(xyz-d50 0.09521 0.09136 0.20248) |
| SwiftUI | Color(red: 0.251, green: 0.329, blue: 0.557) |
| UIKit | UIColor(red: 0.251, green: 0.329, blue: 0.557, alpha: 1) |
| Flutter / Compose | Color(0xFF40548E) |
| Android XML | #40548E |

## 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.3:1
- Contrast with black: 2.88:1

## Tints

#40548e, #51649a, #6275a5, #7485b0, #8796bc, #9aa7c7, #aeb8d2, #c1cade, #d6dbe9, #eaedf4

## Shades

#40548e, #36487b, #2d3c68, #243156, #1b2644, #131b34, #0b1124, #050815, #010207, #000001

## Tones

#40548e, #425589, #455583, #47567e, #495679, #4c5773, #4e576e, #505768, #535763, #55575d

## Harmonies

- Complementary: #40548e, #6e5300
- Split: #40548e, #7f4815, #535e11
- Analogous: #40548e, #0a5e87, #5f4a87
- Triadic: #40548e, #863f38, #2b6637
- Tetradic: #40548e, #744273, #6e5300, #2b6637
- Square: #40548e, #823e57, #6e5300, #006957
- Monochromatic: #40548e, #081246, #223369, #6177b4, #849cdb

## Questions about #40548e

### What color is #40548e?

#40548e is muted dark blue. The closest named color is Demon Blue. In RGB it is rgb(64, 84, 142), in HSL hsl(224.62, 37.86%, 40.39%) and in OKLCH oklch(45.796% 0.09797 268.045).

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

The complementary color of #40548e is #6e5300. For a calmer combination use the analogous colors #0a5e87 and #5f4a87. The triadic partners are #863f38 and #2b6637.

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

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

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

#40548e is a cool color. In OKLCH its hue is 268 degrees, its lightness 45.8% and its chroma 0.098.
