#231D87#231D87
#231D87 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.7% C 0.167 H 274.5°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).
Color values
| HEX | #231D87 |
|---|---|
| RGB | rgb(35, 29, 135) |
| HSL | hsl(243, 65%, 32%) |
| HSV | hsv(243, 79%, 53%) |
| CMYK | cmyk(74.1%, 78.5%, 0%, 47.1%) |
| CIE-LAB | lab(19.98, 38.35, -57.42) |
| CIE-LCH | lch(19.98, 69.05, 303.73°) |
| OKLab | oklab(32.68% 0.0131 -0.1661) |
| OKLCH | oklch(32.68% 0.167 274.5) |
| XYZ | xyz(5.5042, 2.9848, 23.2030) |
| Luminance | 0.0299 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.49
Midnight Blue
#191970
ΔE00 3.76
Darkblue
#00008B
ΔE00 5.11
Cobalt Blue
#030AA7
ΔE00 5.27
Indigo (survey)
#380282
ΔE00 5.31
Navy
#000080
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231D87 #81871D
analogous
#1D4C87 #231D87 #581D87
triadic
#231D87 #87231D #1D8723
tetradic
#231D87 #871D4C #81871D #1D8758
square
#231D87 #871D4C #81871D #1D8758
split-complementary
#231D87 #87581D #4C871D
monochromatic
#090722 #161255 #231D87 #3028B9 #4F47D7
Accessibility & contrast
On white
13.15
#231D87 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#231D87 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231D87
13.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231D87 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231D87 | 1.00 | 13.15 | 1.60 | 13.15 |
| #FFFFFF | 13.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00358A
Deuteranopia (green-blind)
#002B85
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #231d87; /* rgb */ color: rgb(35, 29, 135); /* oklch */ color: oklch(32.7% 0.167 274.5);
Tailwind
colors: {
custom: {
50: '#6f5bab',
500: '#231d87',
950: '#000000',
},
}SCSS
$custom: #231d87; $custom-light: #6f5bab; $custom-dark: #000000;
JSON
{
"hex": "#231d87",
"rgb": {
"r": 35,
"g": 29,
"b": 135
},
"hsl": {
"h": 243.396,
"s": 64.634,
"l": 32.157
},
"oklch": {
"l": 0.32682,
"c": 0.1666,
"h": 274.5
},
"luminance": 0.02985
}Semantic roles & 50–950 ramp
primary
#231D87
secondary
#B3B946
accent
#E840DE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F