#231487#231487
#231487 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.6% C 0.174 H 275.6°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).
Color values
| HEX | #231487 |
|---|---|
| RGB | rgb(35, 20, 135) |
| HSL | hsl(248, 74%, 30%) |
| HSV | hsv(248, 85%, 53%) |
| CMYK | cmyk(74.1%, 85.2%, 0%, 47.1%) |
| CIE-LAB | lab(18.39, 42.96, -60.05) |
| CIE-LCH | lch(18.39, 73.83, 305.58°) |
| OKLab | oklab(31.57% 0.0169 -0.1736) |
| OKLCH | oklch(31.57% 0.174 275.6) |
| XYZ | xyz(5.3150, 2.6064, 23.1399) |
| Luminance | 0.0261 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.31
Darkblue
#00008B
ΔE00 3.43
Indigo (survey)
#380282
ΔE00 3.76
Navy
#000080
ΔE00 3.86
Midnight Blue
#191970
ΔE00 4.19
Cobalt Blue
#030AA7
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231487 #788714
analogous
#143E87 #231487 #5C1487
triadic
#231487 #872314 #148723
tetradic
#231487 #87143E #788714 #14875C
square
#231487 #87143E #788714 #14875C
split-complementary
#231487 #875C14 #3E8714
monochromatic
#07041C #150C52 #231487 #311CBC #4B34E1
Accessibility & contrast
On white
13.80
#231487 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#231487 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231487
13.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231487 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231487 | 1.00 | 13.80 | 1.52 | 13.80 |
| #FFFFFF | 13.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00328A
Deuteranopia (green-blind)
#002885
Tritanopia (blue-blind)
#00394F
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #231487; /* rgb */ color: rgb(35, 20, 135); /* oklch */ color: oklch(31.6% 0.174 275.6);
Tailwind
colors: {
custom: {
50: '#7056ab',
500: '#231487',
950: '#000000',
},
}SCSS
$custom: #231487; $custom-light: #7056ab; $custom-dark: #000000;
JSON
{
"hex": "#231487",
"rgb": {
"r": 35,
"g": 20,
"b": 135
},
"hsl": {
"h": 247.826,
"s": 74.194,
"l": 30.392
},
"oklch": {
"l": 0.31575,
"c": 0.17441,
"h": 275.6
},
"luminance": 0.02607
}Semantic roles & 50–950 ramp
primary
#231487
secondary
#ABBB3B
accent
#F137D9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F