#23186F#23186F
#23186F is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.3% C 0.141 H 278.9°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).
Color values
| HEX | #23186F |
|---|---|
| RGB | rgb(35, 24, 111) |
| HSL | hsl(248, 64%, 26%) |
| HSV | hsv(248, 78%, 44%) |
| CMYK | cmyk(68.5%, 78.4%, 0%, 56.5%) |
| CIE-LAB | lab(16.30, 33.08, -48.18) |
| CIE-LCH | lch(16.30, 58.44, 304.47°) |
| OKLab | oklab(29.29% 0.0218 -0.1391) |
| OKLCH | oklch(29.29% 0.141 278.9) |
| XYZ | xyz(3.8881, 2.1580, 15.2475) |
| Luminance | 0.0216 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.37
Dark Royal Blue
#02066F
ΔE00 4.29
Darkblue (survey)
#030764
ΔE00 4.41
Deep Blue
#040273
ΔE00 4.85
Dark Indigo
#1F0954
ΔE00 5.26
Navy
#000080
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23186F #646F18
analogous
#18396F #23186F #4F186F
triadic
#23186F #6F2318 #186F23
tetradic
#23186F #6F1839 #646F18 #186F4F
square
#23186F #6F1839 #646F18 #186F4F
split-complementary
#23186F #6F4F18 #396F18
monochromatic
#080519 #130D3D #23186F #3323A1 #442FD2
Accessibility & contrast
On white
14.67
#23186F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#23186F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #23186F
14.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23186F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23186F | 1.00 | 14.67 | 1.43 | 14.67 |
| #FFFFFF | 14.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C72
Deuteranopia (green-blind)
#00256D
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #23186f; /* rgb */ color: rgb(35, 24, 111); /* oklch */ color: oklch(29.3% 0.141 278.9);
Tailwind
colors: {
custom: {
50: '#6a5799',
500: '#23186f',
950: '#000000',
},
}SCSS
$custom: #23186f; $custom-light: #6a5799; $custom-dark: #000000;
JSON
{
"hex": "#23186f",
"rgb": {
"r": 35,
"g": 24,
"b": 111
},
"hsl": {
"h": 247.586,
"s": 64.444,
"l": 26.471
},
"oklch": {
"l": 0.29286,
"c": 0.1408,
"h": 278.9
},
"luminance": 0.02158
}Semantic roles & 50–950 ramp
primary
#23186F
secondary
#98A53E
accent
#E740D2
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E