#231789#231789
#231789 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.174 H 275.0°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).
Color values
| HEX | #231789 |
|---|---|
| RGB | rgb(35, 23, 137) |
| HSL | hsl(246, 71%, 31%) |
| HSV | hsv(246, 83%, 54%) |
| CMYK | cmyk(74.5%, 83.2%, 0%, 46.3%) |
| CIE-LAB | lab(19.12, 42.16, -60.10) |
| CIE-LCH | lch(19.12, 73.42, 305.05°) |
| OKLab | oklab(32.15% 0.0152 -0.1738) |
| OKLCH | oklch(32.15% 0.174 275) |
| XYZ | xyz(5.5134, 2.7757, 23.9073) |
| Luminance | 0.0278 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.99
Darkblue
#00008B
ΔE00 3.88
Indigo (survey)
#380282
ΔE00 4.23
Midnight Blue
#191970
ΔE00 4.24
Navy
#000080
ΔE00 4.40
Cobalt Blue
#030AA7
ΔE00 4.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231789 #7D8917
analogous
#174489 #231789 #5C1789
triadic
#231789 #892317 #178923
tetradic
#231789 #891744 #7D8917 #17895C
square
#231789 #891744 #7D8917 #17895C
split-complementary
#231789 #895C17 #448917
monochromatic
#080520 #160E55 #231789 #3020BD #4D3CDE
Accessibility & contrast
On white
13.50
#231789 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#231789 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231789
13.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231789 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231789 | 1.00 | 13.50 | 1.56 | 13.50 |
| #FFFFFF | 13.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00338C
Deuteranopia (green-blind)
#002987
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #231789; /* rgb */ color: rgb(35, 23, 137); /* oklch */ color: oklch(32.1% 0.174 275.0);
Tailwind
colors: {
custom: {
50: '#7058ad',
500: '#231789',
950: '#000000',
},
}SCSS
$custom: #231789; $custom-light: #7058ad; $custom-dark: #000000;
JSON
{
"hex": "#231789",
"rgb": {
"r": 35,
"g": 23,
"b": 137
},
"hsl": {
"h": 246.316,
"s": 71.25,
"l": 31.373
},
"oklch": {
"l": 0.32149,
"c": 0.17444,
"h": 275
},
"luminance": 0.02776
}Semantic roles & 50–950 ramp
primary
#231789
secondary
#AFBD3F
accent
#EE3ADB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F