#231B96#231B96
#231B96 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.2% C 0.187 H 273.2°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).
Color values
| HEX | #231B96 |
|---|---|
| RGB | rgb(35, 27, 150) |
| HSL | hsl(244, 69%, 35%) |
| HSV | hsv(244, 82%, 59%) |
| CMYK | cmyk(76.7%, 82%, 0%, 41.2%) |
| CIE-LAB | lab(21.37, 44.33, -64.47) |
| CIE-LCH | lch(21.37, 78.24, 304.51°) |
| OKLab | oklab(34.16% 0.0103 -0.1865) |
| OKLCH | oklch(34.16% 0.187 273.2) |
| XYZ | xyz(6.5883, 3.3425, 29.1462) |
| Luminance | 0.0334 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.70
Cobalt Blue
#030AA7
ΔE00 3.35
Royal Blue (survey)
#0504AA
ΔE00 3.89
Ultramarine
#2000B1
ΔE00 4.50
Indigo Blue
#3A18B1
ΔE00 4.54
Darkblue
#00008B
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231B96 #8E961B
analogous
#1B5196 #231B96 #601B96
triadic
#231B96 #96231B #1B9623
tetradic
#231B96 #961B51 #8E961B #1B9660
square
#231B96 #961B51 #8E961B #1B9660
split-complementary
#231B96 #96601B #51961B
monochromatic
#0B082E #171262 #231B96 #2F24CA #564DDF
Accessibility & contrast
On white
12.59
#231B96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#231B96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231B96
12.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231B96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231B96 | 1.00 | 12.59 | 1.67 | 12.59 |
| #FFFFFF | 12.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003999
Deuteranopia (green-blind)
#002D94
Tritanopia (blue-blind)
#004259
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #231b96; /* rgb */ color: rgb(35, 27, 150); /* oklch */ color: oklch(34.2% 0.187 273.2);
Tailwind
colors: {
custom: {
50: '#735bb6',
500: '#231b96',
950: '#000000',
},
}SCSS
$custom: #231b96; $custom-light: #735bb6; $custom-dark: #000000;
JSON
{
"hex": "#231b96",
"rgb": {
"r": 35,
"g": 27,
"b": 150
},
"hsl": {
"h": 243.902,
"s": 69.492,
"l": 34.706
},
"oklch": {
"l": 0.34161,
"c": 0.1868,
"h": 273.2
},
"luminance": 0.03343
}Semantic roles & 50–950 ramp
primary
#231B96
secondary
#B9C14C
accent
#EC3BE1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980