#23168F#23168F
#23168F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.8% C 0.182 H 274.3°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).
Color values
| HEX | #23168F |
|---|---|
| RGB | rgb(35, 22, 143) |
| HSL | hsl(246, 73%, 32%) |
| HSV | hsv(246, 85%, 56%) |
| CMYK | cmyk(75.5%, 84.6%, 0%, 43.9%) |
| CIE-LAB | lab(19.69, 44.52, -62.90) |
| CIE-LCH | lch(19.69, 77.06, 305.29°) |
| OKLab | oklab(32.76% 0.0138 -0.1819) |
| OKLCH | oklch(32.76% 0.182 274.3) |
| XYZ | xyz(5.9363, 2.9137, 26.2308) |
| Luminance | 0.0291 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.59
Cobalt Blue
#030AA7
ΔE00 3.57
Darkblue
#00008B
ΔE00 3.76
Royal Blue (survey)
#0504AA
ΔE00 4.05
Indigo (survey)
#380282
ΔE00 4.31
Navy
#000080
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23168F #828F16
analogous
#16468F #23168F #5F168F
triadic
#23168F #8F2316 #168F23
tetradic
#23168F #8F1646 #828F16 #168F5F
square
#23168F #8F1646 #828F16 #168F5F
split-complementary
#23168F #8F5F16 #468F16
monochromatic
#090625 #160E5A #23168F #301EC4 #503EE1
Accessibility & contrast
On white
13.27
#23168F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#23168F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #23168F
13.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23168F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23168F | 1.00 | 13.27 | 1.58 | 13.27 |
| #FFFFFF | 13.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003592
Deuteranopia (green-blind)
#002A8D
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #23168f; /* rgb */ color: rgb(35, 22, 143); /* oklch */ color: oklch(32.8% 0.182 274.3);
Tailwind
colors: {
custom: {
50: '#7258b1',
500: '#23168f',
950: '#000000',
},
}SCSS
$custom: #23168f; $custom-light: #7258b1; $custom-dark: #000000;
JSON
{
"hex": "#23168f",
"rgb": {
"r": 35,
"g": 22,
"b": 143
},
"hsl": {
"h": 246.446,
"s": 73.333,
"l": 32.353
},
"oklch": {
"l": 0.32758,
"c": 0.18241,
"h": 274.3
},
"luminance": 0.02914
}Semantic roles & 50–950 ramp
primary
#23168F
secondary
#B3C13F
accent
#F038DC
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090311
muted
#7B7880