#18197D#18197D
#18197D is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.3% C 0.161 H 271.1°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).
Color values
| HEX | #18197D |
|---|---|
| RGB | rgb(24, 25, 125) |
| HSL | hsl(239, 68%, 29%) |
| HSV | hsv(239, 81%, 49%) |
| CMYK | cmyk(80.8%, 80%, 0%, 51%) |
| CIE-LAB | lab(17.32, 36.25, -55.52) |
| CIE-LCH | lch(17.32, 66.31, 303.14°) |
| OKLab | oklab(30.28% 0.0031 -0.1608) |
| OKLCH | oklch(30.28% 0.161 271.1) |
| XYZ | xyz(4.4247, 2.3696, 19.6222) |
| Luminance | 0.0237 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.11
Royal
#0C1793
ΔE00 3.27
Dark Royal Blue
#02066F
ΔE00 4.28
Navy
#000080
ΔE00 4.57
Deep Blue
#040273
ΔE00 4.62
Darkblue
#00008B
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18197D #7D7C18
analogous
#184C7D #18197D #4A187D
triadic
#18197D #7D1819 #197D18
tetradic
#18197D #7D184C #7D7C18 #187D4A
square
#18197D #7D184C #7D7C18 #187D4A
split-complementary
#18197D #7D4A18 #4C7D18
monochromatic
#05051A #0E0F4A #18197D #2223B0 #3738D9
Accessibility & contrast
On white
14.25
#18197D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#18197D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18197D
14.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18197D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18197D | 1.00 | 14.25 | 1.47 | 14.25 |
| #FFFFFF | 14.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003080
Deuteranopia (green-blind)
#00257B
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #18197d; /* rgb */ color: rgb(24, 25, 125); /* oklch */ color: oklch(30.3% 0.161 271.1);
Tailwind
colors: {
custom: {
50: '#6957a4',
500: '#18197d',
950: '#000000',
},
}SCSS
$custom: #18197d; $custom-light: #6957a4; $custom-dark: #000000;
JSON
{
"hex": "#18197d",
"rgb": {
"r": 24,
"g": 25,
"b": 125
},
"hsl": {
"h": 239.406,
"s": 67.785,
"l": 29.216
},
"oklch": {
"l": 0.30277,
"c": 0.1608,
"h": 271.1
},
"luminance": 0.0237
}Semantic roles & 50–950 ramp
primary
#18197D
secondary
#B2B03F
accent
#E93DEB
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F