#23166F#23166F
#23166F is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.0% C 0.143 H 279.3°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).
Color values
| HEX | #23166F |
|---|---|
| RGB | rgb(35, 22, 111) |
| HSL | hsl(249, 67%, 26%) |
| HSV | hsv(249, 80%, 44%) |
| CMYK | cmyk(68.5%, 80.2%, 0%, 56.5%) |
| CIE-LAB | lab(15.89, 34.22, -48.84) |
| CIE-LCH | lch(15.89, 59.63, 305.02°) |
| OKLab | oklab(29% 0.0231 -0.141) |
| OKLCH | oklch(29% 0.143 279.3) |
| XYZ | xyz(3.8484, 2.0785, 15.2342) |
| Luminance | 0.0208 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.65
Dark Royal Blue
#02066F
ΔE00 3.91
Darkblue (survey)
#030764
ΔE00 4.09
Deep Blue
#040273
ΔE00 4.43
Dark Indigo
#1F0954
ΔE00 5.04
Navy
#000080
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23166F #626F16
analogous
#16356F #23166F #4F166F
triadic
#23166F #6F2316 #166F23
tetradic
#23166F #6F1635 #626F16 #166F4F
square
#23166F #6F1635 #626F16 #166F4F
split-complementary
#23166F #6F4F16 #356F16
monochromatic
#08051A #130C3C #23166F #3320A2 #432BD5
Accessibility & contrast
On white
14.83
#23166F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#23166F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #23166F
14.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23166F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23166F | 1.00 | 14.83 | 1.42 | 14.83 |
| #FFFFFF | 14.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B72
Deuteranopia (green-blind)
#00246D
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #23166f; /* rgb */ color: rgb(35, 22, 111); /* oklch */ color: oklch(29.0% 0.143 279.3);
Tailwind
colors: {
custom: {
50: '#6a5599',
500: '#23166f',
950: '#000000',
},
}SCSS
$custom: #23166f; $custom-light: #6a5599; $custom-dark: #000000;
JSON
{
"hex": "#23166f",
"rgb": {
"r": 35,
"g": 22,
"b": 111
},
"hsl": {
"h": 248.764,
"s": 66.917,
"l": 26.078
},
"oklch": {
"l": 0.29004,
"c": 0.14289,
"h": 279.3
},
"luminance": 0.02079
}Semantic roles & 50–950 ramp
primary
#23166F
secondary
#96A53C
accent
#EA3ED1
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E