#231E7D#231E7D
#231E7D is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.7% C 0.153 H 275.6°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).
Color values
| HEX | #231E7D |
|---|---|
| RGB | rgb(35, 30, 125) |
| HSL | hsl(243, 61%, 30%) |
| HSV | hsv(243, 76%, 49%) |
| CMYK | cmyk(72%, 76%, 0%, 51%) |
| CIE-LAB | lab(19.08, 34.34, -52.59) |
| CIE-LCH | lch(19.08, 62.81, 303.15°) |
| OKLab | oklab(31.72% 0.0148 -0.152) |
| OKLCH | oklch(31.72% 0.153 275.6) |
| XYZ | xyz(4.8579, 2.7661, 19.6760) |
| Luminance | 0.0277 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.40
Royal
#0C1793
ΔE00 3.90
Dark Royal Blue
#02066F
ΔE00 5.54
Indigo (survey)
#380282
ΔE00 5.81
Navy
#000080
ΔE00 5.87
Deep Blue
#040273
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231E7D #787D1E
analogous
#1E487D #231E7D #521E7D
triadic
#231E7D #7D231E #1E7D23
tetradic
#231E7D #7D1E48 #787D1E #1E7D52
square
#231E7D #7D1E48 #787D1E #1E7D52
split-complementary
#231E7D #7D521E #487D1E
monochromatic
#07061A #15124C #231E7D #312AAE #4B43D2
Accessibility & contrast
On white
13.52
#231E7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#231E7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231E7D
13.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231E7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231E7D | 1.00 | 13.52 | 1.55 | 13.52 |
| #FFFFFF | 13.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003280
Deuteranopia (green-blind)
#002A7B
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #231e7d; /* rgb */ color: rgb(35, 30, 125); /* oklch */ color: oklch(31.7% 0.153 275.6);
Tailwind
colors: {
custom: {
50: '#6d5ba4',
500: '#231e7d',
950: '#000000',
},
}SCSS
$custom: #231e7d; $custom-light: #6d5ba4; $custom-dark: #000000;
JSON
{
"hex": "#231e7d",
"rgb": {
"r": 35,
"g": 30,
"b": 125
},
"hsl": {
"h": 243.158,
"s": 61.29,
"l": 30.392
},
"oklch": {
"l": 0.31716,
"c": 0.15273,
"h": 275.6
},
"luminance": 0.02767
}Semantic roles & 50–950 ramp
primary
#231E7D
secondary
#ABB046
accent
#E443DC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F