#231886#231886
#231886 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.9% C 0.170 H 275.3°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).
Color values
| HEX | #231886 |
|---|---|
| RGB | rgb(35, 24, 134) |
| HSL | hsl(246, 70%, 31%) |
| HSV | hsv(246, 82%, 53%) |
| CMYK | cmyk(73.9%, 82.1%, 0%, 47.5%) |
| CIE-LAB | lab(18.93, 40.70, -58.53) |
| CIE-LCH | lch(18.93, 71.29, 304.82°) |
| OKLab | oklab(31.91% 0.0156 -0.1692) |
| OKLCH | oklch(31.91% 0.17 275.3) |
| XYZ | xyz(5.3214, 2.7313, 22.7964) |
| Luminance | 0.0273 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.31
Midnight Blue
#191970
ΔE00 3.76
Darkblue
#00008B
ΔE00 4.13
Indigo (survey)
#380282
ΔE00 4.35
Navy
#000080
ΔE00 4.48
Cobalt Blue
#030AA7
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231886 #7B8618
analogous
#184486 #231886 #5A1886
triadic
#231886 #862318 #188623
tetradic
#231886 #861844 #7B8618 #18865A
square
#231886 #861844 #7B8618 #18865A
split-complementary
#231886 #865A18 #448618
monochromatic
#08051E #150F52 #231886 #3121BA #4C3CDC
Accessibility & contrast
On white
13.58
#231886 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#231886 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231886
13.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231886 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231886 | 1.00 | 13.58 | 1.55 | 13.58 |
| #FFFFFF | 13.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003389
Deuteranopia (green-blind)
#002984
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #231886; /* rgb */ color: rgb(35, 24, 134); /* oklch */ color: oklch(31.9% 0.170 275.3);
Tailwind
colors: {
custom: {
50: '#6f58aa',
500: '#231886',
950: '#000000',
},
}SCSS
$custom: #231886; $custom-light: #6f58aa; $custom-dark: #000000;
JSON
{
"hex": "#231886",
"rgb": {
"r": 35,
"g": 24,
"b": 134
},
"hsl": {
"h": 246,
"s": 69.62,
"l": 30.98
},
"oklch": {
"l": 0.31914,
"c": 0.16995,
"h": 275.3
},
"luminance": 0.02732
}Semantic roles & 50–950 ramp
primary
#231886
secondary
#AEBA40
accent
#EC3BDB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F