#18498F#18498F
#18498F is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.4% C 0.127 H 258.2°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #18498F |
|---|---|
| RGB | rgb(24, 73, 143) |
| HSL | hsl(215, 71%, 33%) |
| HSV | hsv(215, 83%, 56%) |
| CMYK | cmyk(83.2%, 49%, 0%, 43.9%) |
| CIE-LAB | lab(31.67, 11.00, -43.32) |
| CIE-LCH | lch(31.67, 44.70, 284.25°) |
| OKLab | oklab(41.43% -0.0261 -0.1245) |
| OKLCH | oklch(41.43% 0.127 258.2) |
| XYZ | xyz(7.7153, 6.9415, 26.9145) |
| Luminance | 0.0694 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.88
Darkish Blue
#014182
ΔE00 3.01
Dusk Blue
#26538D
ΔE00 3.35
Twilight Blue
#0A437A
ΔE00 3.42
Cobalt
#0047AB
ΔE00 3.89
Light Navy
#155084
ΔE00 3.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18498F #8F5E18
analogous
#18848F #18498F #22188F
triadic
#18498F #8F1849 #498F18
tetradic
#18498F #8F1884 #8F5E18 #188F22
square
#18498F #8F1884 #8F5E18 #188F22
split-complementary
#18498F #8F2218 #848F18
monochromatic
#061326 #0F2E5B #18498F #2164C3 #4283DF
Accessibility & contrast
On white
8.79
#18498F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#18498F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18498F
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18498F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18498F | 1.00 | 8.79 | 2.39 | 8.79 |
| #FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#215092
Deuteranopia (green-blind)
#00468E
Tritanopia (blue-blind)
#005A65
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #18498f; /* rgb */ color: rgb(24, 73, 143); /* oklch */ color: oklch(41.4% 0.127 258.2);
Tailwind
colors: {
custom: {
50: '#6a7bb0',
500: '#18498f',
950: '#000000',
},
}SCSS
$custom: #18498f; $custom-light: #6a7bb0; $custom-dark: #000000;
JSON
{
"hex": "#18498f",
"rgb": {
"r": 24,
"g": 73,
"b": 143
},
"hsl": {
"h": 215.294,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.41433,
"c": 0.12726,
"h": 258.2
},
"luminance": 0.06942
}Semantic roles & 50–950 ramp
primary
#18498F
secondary
#C08C43
accent
#A43AEE
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080910
muted
#7A7B7F