#231885#231885
#231885 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.169 H 275.4°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).
Color values
| HEX | #231885 |
|---|---|
| RGB | rgb(35, 24, 133) |
| HSL | hsl(246, 69%, 31%) |
| HSV | hsv(246, 82%, 52%) |
| CMYK | cmyk(73.7%, 82%, 0%, 47.8%) |
| CIE-LAB | lab(18.82, 40.38, -58.09) |
| CIE-LCH | lch(18.82, 70.75, 304.80°) |
| OKLab | oklab(31.8% 0.0159 -0.168) |
| OKLCH | oklch(31.8% 0.169 275.4) |
| XYZ | xyz(5.2520, 2.7035, 22.4308) |
| Luminance | 0.0270 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.43
Midnight Blue
#191970
ΔE00 3.62
Darkblue
#00008B
ΔE00 4.16
Indigo (survey)
#380282
ΔE00 4.35
Navy
#000080
ΔE00 4.46
Cobalt Blue
#030AA7
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231885 #7A8518
analogous
#184385 #231885 #591885
triadic
#231885 #852318 #188523
tetradic
#231885 #851843 #7A8518 #188559
square
#231885 #851843 #7A8518 #188559
split-complementary
#231885 #855918 #438518
monochromatic
#08051D #150F51 #231885 #3121B9 #4C3CDC
Accessibility & contrast
On white
13.63
#231885 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#231885 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231885
13.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231885 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231885 | 1.00 | 13.63 | 1.54 | 13.63 |
| #FFFFFF | 13.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003288
Deuteranopia (green-blind)
#002983
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #231885; /* rgb */ color: rgb(35, 24, 133); /* oklch */ color: oklch(31.8% 0.169 275.4);
Tailwind
colors: {
custom: {
50: '#6f58aa',
500: '#231885',
950: '#000000',
},
}SCSS
$custom: #231885; $custom-light: #6f58aa; $custom-dark: #000000;
JSON
{
"hex": "#231885",
"rgb": {
"r": 35,
"g": 24,
"b": 133
},
"hsl": {
"h": 246.055,
"s": 69.427,
"l": 30.784
},
"oklch": {
"l": 0.31796,
"c": 0.16872,
"h": 275.4
},
"luminance": 0.02704
}Semantic roles & 50–950 ramp
primary
#231885
secondary
#ADB940
accent
#EC3CDA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F