#231B8A#231B8A
#231B8A is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.8% C 0.172 H 274.4°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).
Color values
| HEX | #231B8A |
|---|---|
| RGB | rgb(35, 27, 138) |
| HSL | hsl(244, 67%, 32%) |
| HSV | hsv(244, 80%, 54%) |
| CMYK | cmyk(74.6%, 80.4%, 0%, 45.9%) |
| CIE-LAB | lab(19.95, 40.44, -59.36) |
| CIE-LCH | lch(19.95, 71.83, 304.26°) |
| OKLab | oklab(32.76% 0.0133 -0.1717) |
| OKLCH | oklch(32.76% 0.172 274.4) |
| XYZ | xyz(5.6710, 2.9756, 24.3153) |
| Luminance | 0.0298 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.00
Midnight Blue
#191970
ΔE00 4.21
Darkblue
#00008B
ΔE00 4.62
Cobalt Blue
#030AA7
ΔE00 4.64
Indigo (survey)
#380282
ΔE00 4.93
Navy
#000080
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231B8A #828A1B
analogous
#1B4B8A #231B8A #5A1B8A
triadic
#231B8A #8A231B #1B8A23
tetradic
#231B8A #8A1B4B #828A1B #1B8A5A
square
#231B8A #8A1B4B #828A1B #1B8A5A
split-complementary
#231B8A #8A5A1B #4B8A1B
monochromatic
#090724 #161157 #231B8A #3025BD #5045DB
Accessibility & contrast
On white
13.16
#231B8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#231B8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231B8A
13.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231B8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231B8A | 1.00 | 13.16 | 1.60 | 13.16 |
| #FFFFFF | 13.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00358D
Deuteranopia (green-blind)
#002B88
Tritanopia (blue-blind)
#003D52
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #231b8a; /* rgb */ color: rgb(35, 27, 138); /* oklch */ color: oklch(32.8% 0.172 274.4);
Tailwind
colors: {
custom: {
50: '#705aad',
500: '#231b8a',
950: '#000000',
},
}SCSS
$custom: #231b8a; $custom-light: #705aad; $custom-dark: #000000;
JSON
{
"hex": "#231b8a",
"rgb": {
"r": 35,
"g": 27,
"b": 138
},
"hsl": {
"h": 244.324,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.32757,
"c": 0.17222,
"h": 274.4
},
"luminance": 0.02976
}Semantic roles & 50–950 ramp
primary
#231B8A
secondary
#B3BC45
accent
#EA3EDE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F