#231B9E#231B9E
#231B9E is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.1% C 0.196 H 272.4°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).
Color values
| HEX | #231B9E |
|---|---|
| RGB | rgb(35, 27, 158) |
| HSL | hsl(244, 71%, 36%) |
| HSV | hsv(244, 83%, 62%) |
| CMYK | cmyk(77.8%, 82.9%, 0%, 38%) |
| CIE-LAB | lab(22.33, 46.86, -67.78) |
| CIE-LCH | lch(22.33, 82.40, 304.66°) |
| OKLab | oklab(35.11% 0.0083 -0.1961) |
| OKLCH | oklch(35.11% 0.196 272.4) |
| XYZ | xyz(7.2546, 3.6090, 32.6554) |
| Luminance | 0.0361 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.34
Cobalt Blue
#030AA7
ΔE00 2.83
Royal Blue (survey)
#0504AA
ΔE00 3.33
Indigo Blue
#3A18B1
ΔE00 3.60
Ultramarine
#2000B1
ΔE00 3.71
Darkblue
#00008B
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231B9E #969E1B
analogous
#1B559E #231B9E #651B9E
triadic
#231B9E #9E231B #1B9E23
tetradic
#231B9E #9E1B55 #969E1B #1B9E65
square
#231B9E #9E1B55 #969E1B #1B9E65
split-complementary
#231B9E #9E651B #559E1B
monochromatic
#0C0935 #17126A #231B9E #2F24D2 #5B52E1
Accessibility & contrast
On white
12.20
#231B9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#231B9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231B9E
12.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231B9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231B9E | 1.00 | 12.20 | 1.72 | 12.20 |
| #FFFFFF | 12.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003CA2
Deuteranopia (green-blind)
#002F9C
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #231b9e; /* rgb */ color: rgb(35, 27, 158); /* oklch */ color: oklch(35.1% 0.196 272.4);
Tailwind
colors: {
custom: {
50: '#755cbc',
500: '#231b9e',
950: '#000000',
},
}SCSS
$custom: #231b9e; $custom-light: #755cbc; $custom-dark: #000000;
JSON
{
"hex": "#231b9e",
"rgb": {
"r": 35,
"g": 27,
"b": 158
},
"hsl": {
"h": 243.664,
"s": 70.811,
"l": 36.275
},
"oklch": {
"l": 0.35113,
"c": 0.19628,
"h": 272.4
},
"luminance": 0.0361
}Semantic roles & 50–950 ramp
primary
#231B9E
secondary
#BDC451
accent
#EE3AE3
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981