#231F99#231F99
#231F99 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.0% C 0.187 H 272.5°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).
Color values
| HEX | #231F99 |
|---|---|
| RGB | rgb(35, 31, 153) |
| HSL | hsl(242, 66%, 36%) |
| HSV | hsv(242, 80%, 60%) |
| CMYK | cmyk(77.1%, 79.7%, 0%, 40%) |
| CIE-LAB | lab(22.43, 43.24, -64.55) |
| CIE-LCH | lch(22.43, 77.70, 303.82°) |
| OKLab | oklab(35.01% 0.0082 -0.1868) |
| OKLCH | oklch(35.01% 0.187 272.5) |
| XYZ | xyz(6.9310, 3.6365, 30.4674) |
| Luminance | 0.0364 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.29
Cobalt Blue
#030AA7
ΔE00 3.76
Royal Blue (survey)
#0504AA
ΔE00 4.32
Indigo Blue
#3A18B1
ΔE00 4.34
Ultramarine
#2000B1
ΔE00 4.79
Darkblue
#00008B
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231F99 #95991F
analogous
#1F5899 #231F99 #601F99
triadic
#231F99 #99231F #1F9923
tetradic
#231F99 #991F58 #95991F #1F9960
square
#231F99 #991F58 #95991F #1F9960
split-complementary
#231F99 #99601F #58991F
monochromatic
#0C0A33 #171566 #231F99 #2F29CC #5A56DD
Accessibility & contrast
On white
12.16
#231F99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#231F99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231F99
12.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231F99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231F99 | 1.00 | 12.16 | 1.73 | 12.16 |
| #FFFFFF | 12.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B9C
Deuteranopia (green-blind)
#003097
Tritanopia (blue-blind)
#00445C
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #231f99; /* rgb */ color: rgb(35, 31, 153); /* oklch */ color: oklch(35.0% 0.187 272.5);
Tailwind
colors: {
custom: {
50: '#735db8',
500: '#231f99',
950: '#000000',
},
}SCSS
$custom: #231f99; $custom-light: #735db8; $custom-dark: #000000;
JSON
{
"hex": "#231f99",
"rgb": {
"r": 35,
"g": 31,
"b": 153
},
"hsl": {
"h": 241.967,
"s": 66.304,
"l": 36.078
},
"oklch": {
"l": 0.35007,
"c": 0.187,
"h": 272.5
},
"luminance": 0.03637
}Semantic roles & 50–950 ramp
primary
#231F99
secondary
#BDC054
accent
#E93FE4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981