#231B94#231B94
#231B94 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.9% C 0.184 H 273.4°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).
Color values
| HEX | #231B94 |
|---|---|
| RGB | rgb(35, 27, 148) |
| HSL | hsl(244, 69%, 34%) |
| HSV | hsv(244, 82%, 58%) |
| CMYK | cmyk(76.4%, 81.8%, 0%, 42%) |
| CIE-LAB | lab(21.13, 43.69, -63.63) |
| CIE-LCH | lch(21.13, 77.19, 304.47°) |
| OKLab | oklab(33.92% 0.0108 -0.1841) |
| OKLCH | oklch(33.92% 0.184 273.4) |
| XYZ | xyz(6.4286, 3.2786, 28.3053) |
| Luminance | 0.0328 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.62
Cobalt Blue
#030AA7
ΔE00 3.53
Royal Blue (survey)
#0504AA
ΔE00 4.08
Ultramarine
#2000B1
ΔE00 4.72
Darkblue
#00008B
ΔE00 4.76
Indigo Blue
#3A18B1
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231B94 #8C941B
analogous
#1B5094 #231B94 #601B94
triadic
#231B94 #94231B #1B9423
tetradic
#231B94 #941B50 #8C941B #1B9460
square
#231B94 #941B50 #8C941B #1B9460
split-complementary
#231B94 #94601B #50941B
monochromatic
#0B082C #171260 #231B94 #2F24C8 #554BDE
Accessibility & contrast
On white
12.68
#231B94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#231B94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231B94
12.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231B94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231B94 | 1.00 | 12.68 | 1.66 | 12.68 |
| #FFFFFF | 12.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003897
Deuteranopia (green-blind)
#002D92
Tritanopia (blue-blind)
#004158
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #231b94; /* rgb */ color: rgb(35, 27, 148); /* oklch */ color: oklch(33.9% 0.184 273.4);
Tailwind
colors: {
custom: {
50: '#735bb5',
500: '#231b94',
950: '#000000',
},
}SCSS
$custom: #231b94; $custom-light: #735bb5; $custom-dark: #000000;
JSON
{
"hex": "#231b94",
"rgb": {
"r": 35,
"g": 27,
"b": 148
},
"hsl": {
"h": 243.967,
"s": 69.143,
"l": 34.314
},
"oklch": {
"l": 0.33925,
"c": 0.1844,
"h": 273.4
},
"luminance": 0.03279
}Semantic roles & 50–950 ramp
primary
#231B94
secondary
#B8C04B
accent
#EC3CE0
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980