#231379#231379
#231379 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.8% C 0.158 H 277.9°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).
Color values
| HEX | #231379 |
|---|---|
| RGB | rgb(35, 19, 121) |
| HSL | hsl(249, 73%, 27%) |
| HSV | hsv(249, 84%, 47%) |
| CMYK | cmyk(71.1%, 84.3%, 0%, 52.5%) |
| CIE-LAB | lab(16.52, 39.04, -54.26) |
| CIE-LCH | lch(16.52, 66.85, 305.73°) |
| OKLab | oklab(29.78% 0.0217 -0.1568) |
| OKLCH | oklch(29.78% 0.158 277.9) |
| XYZ | xyz(4.3761, 2.2032, 18.2801) |
| Luminance | 0.0220 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.68
Dark Royal Blue
#02066F
ΔE00 3.55
Deep Blue
#040273
ΔE00 3.69
Navy
#000080
ΔE00 3.83
Indigo (survey)
#380282
ΔE00 3.94
Royal
#0C1793
ΔE00 4.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231379 #697913
analogous
#133679 #231379 #561379
triadic
#231379 #792313 #137923
tetradic
#231379 #791336 #697913 #137956
square
#231379 #791336 #697913 #137956
split-complementary
#231379 #795613 #367913
monochromatic
#08041A #140B44 #231379 #321BAE #4529DD
Accessibility & contrast
On white
14.58
#231379 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#231379 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231379
14.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231379 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231379 | 1.00 | 14.58 | 1.44 | 14.58 |
| #FFFFFF | 14.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D7C
Deuteranopia (green-blind)
#002577
Tritanopia (blue-blind)
#003347
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #231379; /* rgb */ color: rgb(35, 19, 121); /* oklch */ color: oklch(29.8% 0.158 277.9);
Tailwind
colors: {
custom: {
50: '#6d55a1',
500: '#231379',
950: '#000000',
},
}SCSS
$custom: #231379; $custom-light: #6d55a1; $custom-dark: #000000;
JSON
{
"hex": "#231379",
"rgb": {
"r": 35,
"g": 19,
"b": 121
},
"hsl": {
"h": 249.412,
"s": 72.857,
"l": 27.451
},
"oklch": {
"l": 0.29784,
"c": 0.15825,
"h": 277.9
},
"luminance": 0.02204
}Semantic roles & 50–950 ramp
primary
#231379
secondary
#9CAF39
accent
#F038D3
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08030F
muted
#7B787F