#231F96#231F96
#231F96 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.7% C 0.183 H 272.8°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).
Color values
| HEX | #231F96 |
|---|---|
| RGB | rgb(35, 31, 150) |
| HSL | hsl(242, 66%, 35%) |
| HSV | hsv(242, 79%, 59%) |
| CMYK | cmyk(76.7%, 79.3%, 0%, 41.2%) |
| CIE-LAB | lab(22.08, 42.25, -63.28) |
| CIE-LCH | lch(22.08, 76.09, 303.73°) |
| OKLab | oklab(34.66% 0.0089 -0.1831) |
| OKLCH | oklch(34.66% 0.183 272.8) |
| XYZ | xyz(6.6863, 3.5386, 29.1789) |
| Luminance | 0.0354 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.15
Cobalt Blue
#030AA7
ΔE00 3.98
Royal Blue (survey)
#0504AA
ΔE00 4.54
Indigo Blue
#3A18B1
ΔE00 4.71
Ultramarine
#2000B1
ΔE00 5.08
Darkblue
#00008B
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231F96 #92961F
analogous
#1F5696 #231F96 #5E1F96
triadic
#231F96 #96231F #1F9623
tetradic
#231F96 #961F56 #92961F #1F965E
square
#231F96 #961F56 #92961F #1F965E
split-complementary
#231F96 #965E1F #56961F
monochromatic
#0B0A31 #171563 #231F96 #2F29C9 #5854DC
Accessibility & contrast
On white
12.30
#231F96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#231F96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231F96
12.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231F96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231F96 | 1.00 | 12.30 | 1.71 | 12.30 |
| #FFFFFF | 12.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A99
Deuteranopia (green-blind)
#002F94
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #231f96; /* rgb */ color: rgb(35, 31, 150); /* oklch */ color: oklch(34.7% 0.183 272.8);
Tailwind
colors: {
custom: {
50: '#735db6',
500: '#231f96',
950: '#000000',
},
}SCSS
$custom: #231f96; $custom-light: #735db6; $custom-dark: #000000;
JSON
{
"hex": "#231f96",
"rgb": {
"r": 35,
"g": 31,
"b": 150
},
"hsl": {
"h": 242.017,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.34662,
"c": 0.18334,
"h": 272.8
},
"luminance": 0.03539
}Semantic roles & 50–950 ramp
primary
#231F96
secondary
#BBBF52
accent
#E93FE3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980