# #40478a color: Queen of the Night Shift

#40478a is rgb(64, 71, 138) in RGB and oklch(42.704% 0.10992 276.211) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/40478a

## Formats

| Format | Value |
| --- | --- |
| HEX | #40478a |
| RGB | rgb(64, 71, 138) |
| HSL | hsl(234.32, 36.63%, 39.61%) |
| HSB / HSV | hsv(234.32 53.62% 54.12%) |
| HWB | hwb(234.32 25.1% 45.88%) |
| CMYK | cmyk(54% 49% 0% 46%) |
| Lab | lab(32.25 12.76 -39.03) |
| LCH | lch(32.25 41.06 288.1) |
| OKLab | oklab(42.704% 0.01189 -0.10928) |
| OKLCH | oklch(42.704% 0.10992 276.211) |
| Display P3 | color(display-p3 0.2561 0.27757 0.52392) |
| Rec. 2020 | color(rec2020 0.21961 0.22061 0.47253) |
| Adobe RGB | color(a98-rgb 0.26659 0.2845 0.52879) |
| ProPhoto RGB | color(prophoto-rgb 0.25201 0.22319 0.4401) |
| Linear sRGB | color(srgb-linear 0.05127 0.06301 0.25415) |
| XYZ D65 | color(xyz-d65 0.08954 0.07431 0.25008) |
| XYZ D50 | color(xyz-d50 0.08299 0.07198 0.18832) |
| SwiftUI | Color(red: 0.251, green: 0.278, blue: 0.541) |
| UIKit | UIColor(red: 0.251, green: 0.278, blue: 0.541, alpha: 1) |
| Flutter / Compose | Color(0xFF40478A) |
| Android XML | #40478A |

## Facts

- Closest name: Queen of the Night Shift
- Hue family: Indigo, soft dark indigo
- Closest Tailwind class: blue-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 8.45:1
- Contrast with black: 2.49:1

## Tints

#40478a, #505996, #616aa2, #737cae, #868eba, #99a0c5, #acb3d1, #c0c5dd, #d5d8e8, #eaecf4

## Shades

#40478a, #363d77, #2d3265, #242853, #1b1f42, #131632, #0b0d22, #050614, #010207, #000001

## Tones

#40478a, #414884, #424a7f, #444b79, #454c73, #474c6d, #484d67, #4a4e61, #4b4e5b, #4d4f55

## Harmonies

- Complementary: #40478a, #604d00
- Split: #40478a, #764000, #405900
- Analogous: #40478a, #015287, #5e3c7e
- Triadic: #40478a, #803420, #006034
- Tetradic: #40478a, #733465, #604d00, #006034
- Square: #40478a, #7e3045, #604d00, #005f57
- Monochromatic: #40478a, #0c0242, #232665, #606ab0, #828ed7

## Questions about #40478a

### What color is #40478a?

#40478a is soft dark indigo. The closest named color is Queen of the Night Shift. In RGB it is rgb(64, 71, 138), in HSL hsl(234.32, 36.63%, 39.61%) and in OKLCH oklch(42.704% 0.10992 276.211).

### What colors go well with #40478a?

The complementary color of #40478a is #604d00. For a calmer combination use the analogous colors #015287 and #5e3c7e. The triadic partners are #803420 and #006034.

### Is white or black text more readable on #40478a?

White text reads better on #40478a: white gives a contrast ratio of 8.45:1 and black gives 2.49:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #40478a a warm or cool color?

#40478a is a cool color. In OKLCH its hue is 276 degrees, its lightness 42.7% and its chroma 0.11.
