#231489#231489
#231489 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.177 H 275.3°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).
Color values
| HEX | #231489 |
|---|---|
| RGB | rgb(35, 20, 137) |
| HSL | hsl(248, 75%, 31%) |
| HSV | hsv(248, 85%, 54%) |
| CMYK | cmyk(74.5%, 85.4%, 0%, 46.3%) |
| CIE-LAB | lab(18.64, 43.58, -60.90) |
| CIE-LCH | lch(18.64, 74.88, 305.59°) |
| OKLab | oklab(31.82% 0.0163 -0.176) |
| OKLCH | oklch(31.82% 0.177 275.3) |
| XYZ | xyz(5.4572, 2.6632, 23.8885) |
| Luminance | 0.0266 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.11
Darkblue
#00008B
ΔE00 3.40
Indigo (survey)
#380282
ΔE00 3.81
Navy
#000080
ΔE00 3.95
Cobalt Blue
#030AA7
ΔE00 4.23
Midnight Blue
#191970
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231489 #7A8914
analogous
#144089 #231489 #5D1489
triadic
#231489 #892314 #148923
tetradic
#231489 #891440 #7A8914 #14895D
square
#231489 #891440 #7A8914 #14895D
split-complementary
#231489 #895D14 #408914
monochromatic
#08041E #150C54 #231489 #311CBE #4C36E2
Accessibility & contrast
On white
13.70
#231489 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#231489 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231489
13.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231489 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231489 | 1.00 | 13.70 | 1.53 | 13.70 |
| #FFFFFF | 13.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00328C
Deuteranopia (green-blind)
#002887
Tritanopia (blue-blind)
#003A50
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #231489; /* rgb */ color: rgb(35, 20, 137); /* oklch */ color: oklch(31.8% 0.177 275.3);
Tailwind
colors: {
custom: {
50: '#7056ad',
500: '#231489',
950: '#000000',
},
}SCSS
$custom: #231489; $custom-light: #7056ad; $custom-dark: #000000;
JSON
{
"hex": "#231489",
"rgb": {
"r": 35,
"g": 20,
"b": 137
},
"hsl": {
"h": 247.692,
"s": 74.522,
"l": 30.784
},
"oklch": {
"l": 0.31817,
"c": 0.17679,
"h": 275.3
},
"luminance": 0.02664
}Semantic roles & 50–950 ramp
primary
#231489
secondary
#ADBD3C
accent
#F137D9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F