#231C87#231C87
#231C87 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.5% C 0.168 H 274.7°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).
Color values
| HEX | #231C87 |
|---|---|
| RGB | rgb(35, 28, 135) |
| HSL | hsl(244, 66%, 32%) |
| HSV | hsv(244, 79%, 53%) |
| CMYK | cmyk(74.1%, 79.3%, 0%, 47.1%) |
| CIE-LAB | lab(19.79, 38.90, -57.74) |
| CIE-LCH | lch(19.79, 69.62, 303.97°) |
| OKLab | oklab(32.55% 0.0136 -0.167) |
| OKLCH | oklch(32.55% 0.168 274.7) |
| XYZ | xyz(5.4801, 2.9366, 23.1950) |
| Luminance | 0.0294 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.39
Midnight Blue
#191970
ΔE00 3.76
Darkblue
#00008B
ΔE00 4.89
Indigo (survey)
#380282
ΔE00 5.10
Cobalt Blue
#030AA7
ΔE00 5.15
Navy
#000080
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231C87 #80871C
analogous
#1C4B87 #231C87 #591C87
triadic
#231C87 #87231C #1C8723
tetradic
#231C87 #871C4B #80871C #1C8759
square
#231C87 #871C4B #80871C #1C8759
split-complementary
#231C87 #87591C #4B871C
monochromatic
#090722 #161154 #231C87 #3027BA #4F45D8
Accessibility & contrast
On white
13.23
#231C87 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#231C87 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231C87
13.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231C87 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231C87 | 1.00 | 13.23 | 1.59 | 13.23 |
| #FFFFFF | 13.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.23 | 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: #231c87; /* rgb */ color: rgb(35, 28, 135); /* oklch */ color: oklch(32.5% 0.168 274.7);
Tailwind
colors: {
custom: {
50: '#6f5bab',
500: '#231c87',
950: '#000000',
},
}SCSS
$custom: #231c87; $custom-light: #6f5bab; $custom-dark: #000000;
JSON
{
"hex": "#231c87",
"rgb": {
"r": 35,
"g": 28,
"b": 135
},
"hsl": {
"h": 243.925,
"s": 65.644,
"l": 31.961
},
"oklch": {
"l": 0.32545,
"c": 0.16755,
"h": 274.7
},
"luminance": 0.02937
}Semantic roles & 50–950 ramp
primary
#231C87
secondary
#B2BA45
accent
#E93FDE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F