# #40367b color: Galactic Compass

#40367b is rgb(64, 54, 123) in RGB and oklch(38.185% 0.1129 286.393) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/40367b

## Formats

| Format | Value |
| --- | --- |
| HEX | #40367b |
| RGB | rgb(64, 54, 123) |
| HSL | hsl(248.7, 38.98%, 34.71%) |
| HSB / HSV | hsv(248.7 56.1% 48.24%) |
| HWB | hwb(248.7 21.18% 51.76%) |
| CMYK | cmyk(48% 56% 0% 52%) |
| Lab | lab(26.69 19.36 -38.6) |
| LCH | lch(26.69 43.19 296.63) |
| OKLab | oklab(38.185% 0.03186 -0.10831) |
| OKLCH | oklch(38.185% 0.1129 286.393) |
| Display P3 | color(display-p3 0.24454 0.2132 0.46598) |
| Rec. 2020 | color(rec2020 0.19355 0.15812 0.41072) |
| Adobe RGB | color(a98-rgb 0.24941 0.22303 0.47155) |
| ProPhoto RGB | color(prophoto-rgb 0.22304 0.17375 0.38168) |
| Linear sRGB | color(srgb-linear 0.05127 0.03689 0.19807) |
| XYZ D65 | color(xyz-d65 0.07008 0.05158 0.19366) |
| XYZ D50 | color(xyz-d50 0.0649 0.04986 0.14574) |
| SwiftUI | Color(red: 0.251, green: 0.212, blue: 0.482) |
| UIKit | UIColor(red: 0.251, green: 0.212, blue: 0.482, alpha: 1) |
| Flutter / Compose | Color(0xFF40367B) |
| Android XML | #40367B |

## Facts

- Closest name: Galactic Compass
- Hue family: Violet, soft dark violet
- Closest Tailwind class: indigo-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 10.34:1
- Contrast with black: 2.03:1

## Tints

#40367b, #504988, #615c96, #7370a3, #8583b0, #9897be, #acabcb, #c0c0d8, #d5d4e5, #eaeaf2

## Shades

#40367b, #362e6a, #2d255a, #241e4a, #1b163a, #130f2c, #0b081e, #050310, #010105, #000001

## Tones

#40367b, #403876, #403a70, #403b6b, #403d65, #403e60, #413f5a, #414054, #42414f, #424249

## Harmonies

- Complementary: #40367b, #4a4500
- Split: #40367b, #603900, #224f02
- Analogous: #40367b, #12427d, #5a2c6a
- Triadic: #40367b, #712a00, #005336
- Tetradic: #40367b, #6b244f, #4a4500, #005336
- Square: #40367b, #73222d, #4a4500, #005052
- Monochromatic: #40367b, #0c0031, #241457, #6058a1, #827bc7

## Questions about #40367b

### What color is #40367b?

#40367b is soft dark violet. The closest named color is Galactic Compass. In RGB it is rgb(64, 54, 123), in HSL hsl(248.7, 38.98%, 34.71%) and in OKLCH oklch(38.185% 0.1129 286.393).

### What colors go well with #40367b?

The complementary color of #40367b is #4a4500. For a calmer combination use the analogous colors #12427d and #5a2c6a. The triadic partners are #712a00 and #005336.

### Is white or black text more readable on #40367b?

White text reads better on #40367b: white gives a contrast ratio of 10.34:1 and black gives 2.03:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #40367b a warm or cool color?

#40367b is a cool color. In OKLCH its hue is 286 degrees, its lightness 38.2% and its chroma 0.113.
