#23167C#23167C
#23167C is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.5% C 0.159 H 277.0°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).
Color values
| HEX | #23167C |
|---|---|
| RGB | rgb(35, 22, 124) |
| HSL | hsl(248, 70%, 29%) |
| HSV | hsv(248, 82%, 49%) |
| CMYK | cmyk(71.8%, 82.3%, 0%, 51.4%) |
| CIE-LAB | lab(17.39, 38.49, -54.73) |
| CIE-LCH | lch(17.39, 66.91, 305.12°) |
| OKLab | oklab(30.5% 0.0194 -0.1582) |
| OKLCH | oklch(30.5% 0.159 277) |
| XYZ | xyz(4.6170, 2.3860, 19.2821) |
| Luminance | 0.0239 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.60
Royal
#0C1793
ΔE00 3.63
Dark Royal Blue
#02066F
ΔE00 4.08
Navy
#000080
ΔE00 4.20
Indigo (survey)
#380282
ΔE00 4.22
Deep Blue
#040273
ΔE00 4.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23167C #6F7C16
analogous
#163C7C #23167C #56167C
triadic
#23167C #7C2316 #167C23
tetradic
#23167C #7C163C #6F7C16 #167C56
square
#23167C #7C163C #6F7C16 #167C56
split-complementary
#23167C #7C5616 #3C7C16
monochromatic
#07051A #140D48 #23167C #321FB0 #4732DB
Accessibility & contrast
On white
14.22
#23167C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#23167C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #23167C
14.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23167C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23167C | 1.00 | 14.22 | 1.48 | 14.22 |
| #FFFFFF | 14.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F7F
Deuteranopia (green-blind)
#00267A
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #23167c; /* rgb */ color: rgb(35, 22, 124); /* oklch */ color: oklch(30.5% 0.159 277.0);
Tailwind
colors: {
custom: {
50: '#6d56a3',
500: '#23167c',
950: '#000000',
},
}SCSS
$custom: #23167c; $custom-light: #6d56a3; $custom-dark: #000000;
JSON
{
"hex": "#23167c",
"rgb": {
"r": 35,
"g": 22,
"b": 124
},
"hsl": {
"h": 247.647,
"s": 69.863,
"l": 28.627
},
"oklch": {
"l": 0.30496,
"c": 0.15936,
"h": 277
},
"luminance": 0.02386
}Semantic roles & 50–950 ramp
primary
#23167C
secondary
#A2B13D
accent
#ED3BD6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F