# #40538f color: Demon Blue

#40538f is rgb(64, 83, 143) in RGB and oklch(45.635% 0.1008 268.916) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #40538f |
| RGB | rgb(64, 83, 143) |
| HSL | hsl(225.57, 38.16%, 40.59%) |
| HSB / HSV | hsv(225.57 55.24% 56.08%) |
| HWB | hwb(225.57 25.1% 43.92%) |
| CMYK | cmyk(55% 42% 0% 44%) |
| Lab | lab(36 6.78 -36.13) |
| LCH | lch(36 36.76 280.62) |
| OKLab | oklab(45.635% -0.00191 -0.10079) |
| OKLCH | oklch(45.635% 0.1008 268.916) |
| Display P3 | color(display-p3 0.26601 0.32334 0.54418) |
| Rec. 2020 | color(rec2020 0.2383 0.26554 0.4945) |
| Adobe RGB | color(a98-rgb 0.28098 0.32859 0.5485) |
| ProPhoto RGB | color(prophoto-rgb 0.26934 0.25973 0.46167) |
| Linear sRGB | color(srgb-linear 0.05127 0.0865 0.27468) |
| XYZ D65 | color(xyz-d65 0.10165 0.09259 0.27239) |
| XYZ D50 | color(xyz-d50 0.09497 0.09007 0.20526) |
| SwiftUI | Color(red: 0.251, green: 0.325, blue: 0.561) |
| UIKit | UIColor(red: 0.251, green: 0.325, blue: 0.561, alpha: 1) |
| Flutter / Compose | Color(0xFF40538F) |
| Android XML | #40538F |

## 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.36:1
- Contrast with black: 2.85:1

## Tints

#40538f, #51639a, #6274a6, #7485b1, #8795bd, #9aa6c8, #adb8d3, #c1c9de, #d5dbe9, #eaedf4

## Shades

#40538f, #36477c, #2d3b69, #243057, #1b2545, #131b34, #0b1124, #050815, #010207, #000001

## Tones

#40538f, #42548a, #445584, #47557f, #495679, #4b5674, #4e566e, #505768, #525763, #55575d

## Harmonies

- Complementary: #40538f, #6e5300
- Split: #40538f, #7f470f, #515e0d
- Analogous: #40538f, #055d89, #5f4987
- Triadic: #40538f, #863e35, #266636
- Tetradic: #40538f, #754172, #6e5300, #266636
- Square: #40538f, #823c56, #6e5300, #006958
- Monochromatic: #40538f, #091147, #22326a, #6176b5, #839bdc

## Questions about #40538f

### What color is #40538f?

#40538f is muted dark blue. The closest named color is Demon Blue. In RGB it is rgb(64, 83, 143), in HSL hsl(225.57, 38.16%, 40.59%) and in OKLCH oklch(45.635% 0.1008 268.916).

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

The complementary color of #40538f is #6e5300. For a calmer combination use the analogous colors #055d89 and #5f4987. The triadic partners are #863e35 and #266636.

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

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

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

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