#231E7F#231E7F
#231E7F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.9% C 0.155 H 275.3°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).
Color values
| HEX | #231E7F |
|---|---|
| RGB | rgb(35, 30, 127) |
| HSL | hsl(243, 62%, 31%) |
| HSV | hsv(243, 76%, 50%) |
| CMYK | cmyk(72.4%, 76.4%, 0%, 50.2%) |
| CIE-LAB | lab(19.30, 35.03, -53.50) |
| CIE-LCH | lch(19.30, 63.95, 303.22°) |
| OKLab | oklab(31.93% 0.0144 -0.1547) |
| OKLCH | oklch(31.93% 0.155 275.3) |
| XYZ | xyz(4.9869, 2.8177, 20.3556) |
| Luminance | 0.0282 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.66
Royal
#0C1793
ΔE00 3.61
Dark Royal Blue
#02066F
ΔE00 5.61
Indigo (survey)
#380282
ΔE00 5.71
Darkblue
#00008B
ΔE00 5.75
Navy
#000080
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231E7F #7A7F1E
analogous
#1E497F #231E7F #531E7F
triadic
#231E7F #7F231E #1E7F23
tetradic
#231E7F #7F1E49 #7A7F1E #1E7F53
square
#231E7F #7F1E49 #7A7F1E #1E7F53
split-complementary
#231E7F #7F531E #497F1E
monochromatic
#08071C #15124D #231E7F #312AB1 #4C44D3
Accessibility & contrast
On white
13.43
#231E7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#231E7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231E7F
13.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231E7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231E7F | 1.00 | 13.43 | 1.56 | 13.43 |
| #FFFFFF | 13.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003382
Deuteranopia (green-blind)
#002A7D
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #231e7f; /* rgb */ color: rgb(35, 30, 127); /* oklch */ color: oklch(31.9% 0.155 275.3);
Tailwind
colors: {
custom: {
50: '#6d5ba5',
500: '#231e7f',
950: '#000000',
},
}SCSS
$custom: #231e7f; $custom-light: #6d5ba5; $custom-dark: #000000;
JSON
{
"hex": "#231e7f",
"rgb": {
"r": 35,
"g": 30,
"b": 127
},
"hsl": {
"h": 243.093,
"s": 61.783,
"l": 30.784
},
"oklch": {
"l": 0.31934,
"c": 0.15534,
"h": 275.3
},
"luminance": 0.02818
}Semantic roles & 50–950 ramp
primary
#231E7F
secondary
#ADB247
accent
#E543DD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F