#23167E#23167E
#23167E is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.7% C 0.162 H 276.7°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).
Color values
| HEX | #23167E |
|---|---|
| RGB | rgb(35, 22, 126) |
| HSL | hsl(248, 70%, 29%) |
| HSV | hsv(248, 83%, 49%) |
| CMYK | cmyk(72.2%, 82.5%, 0%, 50.6%) |
| CIE-LAB | lab(17.63, 39.14, -55.62) |
| CIE-LCH | lch(17.63, 68.01, 305.13°) |
| OKLab | oklab(30.73% 0.0188 -0.1607) |
| OKLCH | oklch(30.73% 0.162 276.7) |
| XYZ | xyz(4.7447, 2.4371, 19.9550) |
| Luminance | 0.0244 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.84
Royal
#0C1793
ΔE00 3.35
Navy
#000080
ΔE00 4.13
Indigo (survey)
#380282
ΔE00 4.14
Dark Royal Blue
#02066F
ΔE00 4.21
Darkblue
#00008B
ΔE00 4.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23167E #717E16
analogous
#163D7E #23167E #57167E
triadic
#23167E #7E2316 #167E23
tetradic
#23167E #7E163D #717E16 #167E57
square
#23167E #7E163D #717E16 #167E57
split-complementary
#23167E #7E5716 #3D7E16
monochromatic
#07051A #150D4A #23167E #311FB2 #4833DB
Accessibility & contrast
On white
14.12
#23167E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#23167E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #23167E
14.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23167E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23167E | 1.00 | 14.12 | 1.49 | 14.12 |
| #FFFFFF | 14.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F81
Deuteranopia (green-blind)
#00277C
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #23167e; /* rgb */ color: rgb(35, 22, 126); /* oklch */ color: oklch(30.7% 0.162 276.7);
Tailwind
colors: {
custom: {
50: '#6e57a5',
500: '#23167e',
950: '#000000',
},
}SCSS
$custom: #23167e; $custom-light: #6e57a5; $custom-dark: #000000;
JSON
{
"hex": "#23167e",
"rgb": {
"r": 35,
"g": 22,
"b": 126
},
"hsl": {
"h": 247.5,
"s": 70.27,
"l": 29.02
},
"oklch": {
"l": 0.3073,
"c": 0.16184,
"h": 276.7
},
"luminance": 0.02438
}Semantic roles & 50–950 ramp
primary
#23167E
secondary
#A4B33D
accent
#ED3BD7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F