#231B88#231B88
#231B88 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.5% C 0.170 H 274.7°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).
Color values
| HEX | #231B88 |
|---|---|
| RGB | rgb(35, 27, 136) |
| HSL | hsl(244, 67%, 32%) |
| HSV | hsv(244, 80%, 53%) |
| CMYK | cmyk(74.3%, 80.1%, 0%, 46.7%) |
| CIE-LAB | lab(19.71, 39.78, -58.49) |
| CIE-LCH | lch(19.71, 70.74, 304.22°) |
| OKLab | oklab(32.53% 0.0138 -0.1692) |
| OKLCH | oklch(32.53% 0.17 274.7) |
| XYZ | xyz(5.5275, 2.9182, 23.5597) |
| Luminance | 0.0292 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.20
Midnight Blue
#191970
ΔE00 3.92
Darkblue
#00008B
ΔE00 4.65
Cobalt Blue
#030AA7
ΔE00 4.90
Indigo (survey)
#380282
ΔE00 4.91
Navy
#000080
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231B88 #80881B
analogous
#1B4988 #231B88 #5A1B88
triadic
#231B88 #88231B #1B8823
tetradic
#231B88 #881B49 #80881B #1B885A
square
#231B88 #881B49 #80881B #1B885A
split-complementary
#231B88 #885A1B #49881B
monochromatic
#090722 #161155 #231B88 #3025BB #4F44DA
Accessibility & contrast
On white
13.26
#231B88 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#231B88 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231B88
13.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231B88 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231B88 | 1.00 | 13.26 | 1.58 | 13.26 |
| #FFFFFF | 13.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00358B
Deuteranopia (green-blind)
#002B86
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #231b88; /* rgb */ color: rgb(35, 27, 136); /* oklch */ color: oklch(32.5% 0.170 274.7);
Tailwind
colors: {
custom: {
50: '#705aac',
500: '#231b88',
950: '#000000',
},
}SCSS
$custom: #231b88; $custom-light: #705aac; $custom-dark: #000000;
JSON
{
"hex": "#231b88",
"rgb": {
"r": 35,
"g": 27,
"b": 136
},
"hsl": {
"h": 244.404,
"s": 66.871,
"l": 31.961
},
"oklch": {
"l": 0.32526,
"c": 0.16973,
"h": 274.7
},
"luminance": 0.02919
}Semantic roles & 50–950 ramp
primary
#231B88
secondary
#B2BB44
accent
#EA3EDD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F