#231B87#231B87
#231B87 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.169 H 274.8°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).
Color values
| HEX | #231B87 |
|---|---|
| RGB | rgb(35, 27, 135) |
| HSL | hsl(244, 67%, 32%) |
| HSV | hsv(244, 80%, 53%) |
| CMYK | cmyk(74.1%, 80%, 0%, 47.1%) |
| CIE-LAB | lab(19.60, 39.45, -58.06) |
| CIE-LCH | lch(19.60, 70.19, 304.20°) |
| OKLab | oklab(32.41% 0.0141 -0.1679) |
| OKLCH | oklch(32.41% 0.169 274.8) |
| XYZ | xyz(5.4568, 2.8899, 23.1872) |
| Luminance | 0.0289 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.31
Midnight Blue
#191970
ΔE00 3.78
Darkblue
#00008B
ΔE00 4.68
Indigo (survey)
#380282
ΔE00 4.90
Cobalt Blue
#030AA7
ΔE00 5.03
Navy
#000080
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231B87 #7F871B
analogous
#1B4987 #231B87 #591B87
triadic
#231B87 #87231B #1B8723
tetradic
#231B87 #871B49 #7F871B #1B8759
square
#231B87 #871B49 #7F871B #1B8759
split-complementary
#231B87 #87591B #49871B
monochromatic
#090721 #161154 #231B87 #3025BA #4E43D9
Accessibility & contrast
On white
13.31
#231B87 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#231B87 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231B87
13.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231B87 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231B87 | 1.00 | 13.31 | 1.58 | 13.31 |
| #FFFFFF | 13.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00348A
Deuteranopia (green-blind)
#002A85
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #231b87; /* rgb */ color: rgb(35, 27, 135); /* oklch */ color: oklch(32.4% 0.169 274.8);
Tailwind
colors: {
custom: {
50: '#6f5aab',
500: '#231b87',
950: '#000000',
},
}SCSS
$custom: #231b87; $custom-light: #6f5aab; $custom-dark: #000000;
JSON
{
"hex": "#231b87",
"rgb": {
"r": 35,
"g": 27,
"b": 135
},
"hsl": {
"h": 244.444,
"s": 66.667,
"l": 31.765
},
"oklch": {
"l": 0.32411,
"c": 0.1685,
"h": 274.8
},
"luminance": 0.0289
}Semantic roles & 50–950 ramp
primary
#231B87
secondary
#B1BA44
accent
#EA3EDD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F