#231D7E#231D7E
#231D7E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.7% C 0.155 H 275.6°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).
Color values
| HEX | #231D7E |
|---|---|
| RGB | rgb(35, 29, 126) |
| HSL | hsl(244, 63%, 30%) |
| HSV | hsv(244, 77%, 49%) |
| CMYK | cmyk(72.2%, 77%, 0%, 50.6%) |
| CIE-LAB | lab(18.98, 35.28, -53.39) |
| CIE-LCH | lch(18.98, 63.99, 303.46°) |
| OKLab | oklab(31.68% 0.0152 -0.1543) |
| OKLCH | oklch(31.68% 0.155 275.6) |
| XYZ | xyz(4.8972, 2.7420, 20.0058) |
| Luminance | 0.0274 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.49
Royal
#0C1793
ΔE00 3.64
Dark Royal Blue
#02066F
ΔE00 5.37
Indigo (survey)
#380282
ΔE00 5.52
Navy
#000080
ΔE00 5.59
Darkblue
#00008B
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231D7E #787E1D
analogous
#1D487E #231D7E #531D7E
triadic
#231D7E #7E231D #1D7E23
tetradic
#231D7E #7E1D48 #787E1D #1D7E53
square
#231D7E #7E1D48 #787E1D #1D7E53
split-complementary
#231D7E #7E531D #487E1D
monochromatic
#07061B #15124C #231D7E #3128B0 #4B42D3
Accessibility & contrast
On white
13.56
#231D7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#231D7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231D7E
13.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231D7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231D7E | 1.00 | 13.56 | 1.55 | 13.56 |
| #FFFFFF | 13.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003281
Deuteranopia (green-blind)
#002A7C
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #231d7e; /* rgb */ color: rgb(35, 29, 126); /* oklch */ color: oklch(31.7% 0.155 275.6);
Tailwind
colors: {
custom: {
50: '#6d5ba4',
500: '#231d7e',
950: '#000000',
},
}SCSS
$custom: #231d7e; $custom-light: #6d5ba4; $custom-dark: #000000;
JSON
{
"hex": "#231d7e",
"rgb": {
"r": 35,
"g": 29,
"b": 126
},
"hsl": {
"h": 243.711,
"s": 62.581,
"l": 30.392
},
"oklch": {
"l": 0.31676,
"c": 0.15509,
"h": 275.6
},
"luminance": 0.02742
}Semantic roles & 50–950 ramp
primary
#231D7E
secondary
#ABB145
accent
#E642DC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F