#231887#231887
#231887 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.0% C 0.171 H 275.2°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).
Color values
| HEX | #231887 |
|---|---|
| RGB | rgb(35, 24, 135) |
| HSL | hsl(246, 70%, 31%) |
| HSV | hsv(246, 82%, 53%) |
| CMYK | cmyk(74.1%, 82.2%, 0%, 47.1%) |
| CIE-LAB | lab(19.05, 41.02, -58.96) |
| CIE-LCH | lch(19.05, 71.83, 304.83°) |
| OKLab | oklab(32.03% 0.0154 -0.1705) |
| OKLCH | oklch(32.03% 0.171 275.2) |
| XYZ | xyz(5.3915, 2.7593, 23.1654) |
| Luminance | 0.0276 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.19
Midnight Blue
#191970
ΔE00 3.90
Darkblue
#00008B
ΔE00 4.10
Indigo (survey)
#380282
ΔE00 4.36
Navy
#000080
ΔE00 4.50
Cobalt Blue
#030AA7
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231887 #7C8718
analogous
#184487 #231887 #5A1887
triadic
#231887 #872318 #188723
tetradic
#231887 #871844 #7C8718 #18875A
square
#231887 #871844 #7C8718 #18875A
split-complementary
#231887 #875A18 #448718
monochromatic
#08061F #160F53 #231887 #3021BB #4D3DDC
Accessibility & contrast
On white
13.53
#231887 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#231887 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231887
13.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231887 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231887 | 1.00 | 13.53 | 1.55 | 13.53 |
| #FFFFFF | 13.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00338A
Deuteranopia (green-blind)
#002985
Tritanopia (blue-blind)
#003A50
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #231887; /* rgb */ color: rgb(35, 24, 135); /* oklch */ color: oklch(32.0% 0.171 275.2);
Tailwind
colors: {
custom: {
50: '#7058ab',
500: '#231887',
950: '#000000',
},
}SCSS
$custom: #231887; $custom-light: #7058ab; $custom-dark: #000000;
JSON
{
"hex": "#231887",
"rgb": {
"r": 35,
"g": 24,
"b": 135
},
"hsl": {
"h": 245.946,
"s": 69.811,
"l": 31.176
},
"oklch": {
"l": 0.32031,
"c": 0.17117,
"h": 275.2
},
"luminance": 0.0276
}Semantic roles & 50–950 ramp
primary
#231887
secondary
#AFBB40
accent
#ED3BDB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F