#18176E#18176E
#18176E is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.2% C 0.143 H 272.8°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).
Color values
| HEX | #18176E |
|---|---|
| RGB | rgb(24, 23, 110) |
| HSL | hsl(241, 65%, 26%) |
| HSV | hsv(241, 79%, 43%) |
| CMYK | cmyk(78.2%, 79.1%, 0%, 56.9%) |
| CIE-LAB | lab(15.13, 32.12, -49.48) |
| CIE-LCH | lch(15.13, 58.99, 302.99°) |
| OKLab | oklab(28.21% 0.007 -0.1432) |
| OKLCH | oklch(28.21% 0.143 272.8) |
| XYZ | xyz(3.4966, 1.9324, 14.9375) |
| Luminance | 0.0193 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.55
Dark Royal Blue
#02066F
ΔE00 3.73
Darkblue (survey)
#030764
ΔE00 3.76
Deep Blue
#040273
ΔE00 4.46
Dark Blue
#00035B
ΔE00 5.15
Navy
#000080
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18176E #6D6E17
analogous
#17416E #18176E #43176E
triadic
#18176E #6E1817 #176E18
tetradic
#18176E #6E1741 #6D6E17 #176E43
square
#18176E #6E1741 #6D6E17 #176E43
split-complementary
#18176E #6E4317 #416E17
monochromatic
#060519 #0D0C3B #18176E #2322A1 #2E2CD3
Accessibility & contrast
On white
15.14
#18176E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.39
#18176E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18176E
15.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18176E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18176E | 1.00 | 15.14 | 1.39 | 15.14 |
| #FFFFFF | 15.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002A71
Deuteranopia (green-blind)
#00226C
Tritanopia (blue-blind)
#003141
Achromatopsia (no color)
#262626
Design tokens & code
CSS
--color: #18176e; /* rgb */ color: rgb(24, 23, 110); /* oklch */ color: oklch(28.2% 0.143 272.8);
Tailwind
colors: {
custom: {
50: '#655599',
500: '#18176e',
950: '#000000',
},
}SCSS
$custom: #18176e; $custom-light: #655599; $custom-dark: #000000;
JSON
{
"hex": "#18176e",
"rgb": {
"r": 24,
"g": 23,
"b": 110
},
"hsl": {
"h": 240.69,
"s": 65.414,
"l": 26.078
},
"oklch": {
"l": 0.28209,
"c": 0.14336,
"h": 272.8
},
"luminance": 0.01933
}Semantic roles & 50–950 ramp
primary
#18176E
secondary
#A3A43D
accent
#E83FE6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E