# #40467f color: Queen of the Night Shift

#40467f is rgb(64, 70, 127) in RGB and oklch(41.758% 0.09451 276.949) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #40467f |
| RGB | rgb(64, 70, 127) |
| HSL | hsl(234.29, 32.98%, 37.45%) |
| HSB / HSV | hsv(234.29 49.61% 49.8%) |
| HWB | hwb(234.29 25.1% 50.2%) |
| CMYK | cmyk(50% 45% 0% 50%) |
| Lab | lab(31.39 10.4 -33.63) |
| LCH | lch(31.39 35.2 287.19) |
| OKLab | oklab(41.758% 0.01144 -0.09382) |
| OKLCH | oklch(41.758% 0.09451 276.949) |
| Display P3 | color(display-p3 0.25534 0.27377 0.4829) |
| Rec. 2020 | color(rec2020 0.21417 0.21588 0.42907) |
| Adobe RGB | color(a98-rgb 0.26547 0.28085 0.48756) |
| ProPhoto RGB | color(prophoto-rgb 0.24098 0.21813 0.3995) |
| Linear sRGB | color(srgb-linear 0.05127 0.06125 0.21223) |
| XYZ D65 | color(xyz-d65 0.08135 0.07002 0.21002) |
| XYZ D50 | color(xyz-d50 0.07631 0.06818 0.15821) |
| SwiftUI | Color(red: 0.251, green: 0.275, blue: 0.498) |
| UIKit | UIColor(red: 0.251, green: 0.275, blue: 0.498, alpha: 1) |
| Flutter / Compose | Color(0xFF40467F) |
| Android XML | #40467F |

## Facts

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

## Tints

#40467f, #50578c, #626999, #747ba6, #868db2, #999fbf, #adb2cc, #c1c5d9, #d5d8e5, #eaebf2

## Shades

#40467f, #363c6e, #2d325d, #24284c, #1b1e3c, #13152d, #0b0d1f, #050511, #010206, #000001

## Tones

#40467f, #41477a, #424875, #434970, #444a6b, #464a66, #474b61, #484b5c, #4a4c57, #4b4c52

## Harmonies

- Complementary: #40467f, #5b4c00
- Split: #40467f, #6e4000, #3e5513
- Analogous: #40467f, #17507d, #5a3d74
- Triadic: #40467f, #773725, #0b5b37
- Tetradic: #40467f, #6c365f, #5b4c00, #0b5b37
- Square: #40467f, #763344, #5b4c00, #005c55
- Monochromatic: #40467f, #0b0539, #23255b, #6068a4, #838ccb

## Questions about #40467f

### What color is #40467f?

#40467f is soft dark indigo. The closest named color is Queen of the Night Shift. In RGB it is rgb(64, 70, 127), in HSL hsl(234.29, 32.98%, 37.45%) and in OKLCH oklch(41.758% 0.09451 276.949).

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

The complementary color of #40467f is #5b4c00. For a calmer combination use the analogous colors #17507d and #5a3d74. The triadic partners are #773725 and #0b5b37.

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

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

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

#40467f is a cool color. In OKLCH its hue is 277 degrees, its lightness 41.8% and its chroma 0.095.
