#231F86#231F86
#231F86 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.9% C 0.163 H 274.3°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).
Color values
| HEX | #231F86 |
|---|---|
| RGB | rgb(35, 31, 134) |
| HSL | hsl(242, 62%, 32%) |
| HSV | hsv(242, 77%, 53%) |
| CMYK | cmyk(73.9%, 76.9%, 0%, 47.5%) |
| CIE-LAB | lab(20.27, 36.86, -56.31) |
| CIE-LCH | lch(20.27, 67.30, 303.21°) |
| OKLab | oklab(32.86% 0.0124 -0.1629) |
| OKLCH | oklch(32.86% 0.163 274.3) |
| XYZ | xyz(5.4848, 3.0580, 22.8508) |
| Luminance | 0.0306 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.87
Midnight Blue
#191970
ΔE00 3.67
Darkblue
#00008B
ΔE00 5.60
Cobalt Blue
#030AA7
ΔE00 5.69
Indigo (survey)
#380282
ΔE00 5.75
Navy
#000080
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231F86 #82861F
analogous
#1F4F86 #231F86 #561F86
triadic
#231F86 #86231F #1F8623
tetradic
#231F86 #861F4F #82861F #1F8656
square
#231F86 #861F4F #82861F #1F8656
split-complementary
#231F86 #86561F #4F861F
monochromatic
#090823 #161454 #231F86 #302AB8 #504AD5
Accessibility & contrast
On white
13.03
#231F86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#231F86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231F86
13.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231F86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231F86 | 1.00 | 13.03 | 1.61 | 13.03 |
| #FFFFFF | 13.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003689
Deuteranopia (green-blind)
#002C84
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #231f86; /* rgb */ color: rgb(35, 31, 134); /* oklch */ color: oklch(32.9% 0.163 274.3);
Tailwind
colors: {
custom: {
50: '#6f5caa',
500: '#231f86',
950: '#000000',
},
}SCSS
$custom: #231f86; $custom-light: #6f5caa; $custom-dark: #000000;
JSON
{
"hex": "#231f86",
"rgb": {
"r": 35,
"g": 31,
"b": 134
},
"hsl": {
"h": 242.33,
"s": 62.424,
"l": 32.353
},
"oklch": {
"l": 0.32855,
"c": 0.16334,
"h": 274.3
},
"luminance": 0.03059
}Semantic roles & 50–950 ramp
primary
#231F86
secondary
#B3B849
accent
#E542DF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F