#231D7F#231D7F
#231D7F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.8% C 0.156 H 275.5°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).
Color values
| HEX | #231D7F |
|---|---|
| RGB | rgb(35, 29, 127) |
| HSL | hsl(244, 63%, 31%) |
| HSV | hsv(244, 77%, 50%) |
| CMYK | cmyk(72.4%, 77.2%, 0%, 50.2%) |
| CIE-LAB | lab(19.09, 35.62, -53.84) |
| CIE-LCH | lch(19.09, 64.56, 303.49°) |
| OKLab | oklab(31.79% 0.0149 -0.1557) |
| OKLCH | oklch(31.79% 0.156 275.5) |
| XYZ | xyz(4.9620, 2.7679, 20.3473) |
| Luminance | 0.0277 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.62
Royal
#0C1793
ΔE00 3.50
Dark Royal Blue
#02066F
ΔE00 5.41
Indigo (survey)
#380282
ΔE00 5.48
Darkblue
#00008B
ΔE00 5.52
Navy
#000080
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231D7F #797F1D
analogous
#1D487F #231D7F #541D7F
triadic
#231D7F #7F231D #1D7F23
tetradic
#231D7F #7F1D48 #797F1D #1D7F54
square
#231D7F #7F1D48 #797F1D #1D7F54
split-complementary
#231D7F #7F541D #487F1D
monochromatic
#08061B #15124D #231D7F #3128B1 #4B42D4
Accessibility & contrast
On white
13.52
#231D7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#231D7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231D7F
13.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231D7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231D7F | 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)
#003382
Deuteranopia (green-blind)
#002A7D
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #231d7f; /* rgb */ color: rgb(35, 29, 127); /* oklch */ color: oklch(31.8% 0.156 275.5);
Tailwind
colors: {
custom: {
50: '#6d5ba5',
500: '#231d7f',
950: '#000000',
},
}SCSS
$custom: #231d7f; $custom-light: #6d5ba5; $custom-dark: #000000;
JSON
{
"hex": "#231d7f",
"rgb": {
"r": 35,
"g": 29,
"b": 127
},
"hsl": {
"h": 243.673,
"s": 62.821,
"l": 30.588
},
"oklch": {
"l": 0.31786,
"c": 0.15639,
"h": 275.5
},
"luminance": 0.02768
}Semantic roles & 50–950 ramp
primary
#231D7F
secondary
#ACB245
accent
#E642DC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F