#18488C#18488C
#18488C is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.0% C 0.124 H 258.0°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).
Color values
| HEX | #18488C |
|---|---|
| RGB | rgb(24, 72, 140) |
| HSL | hsl(215, 71%, 32%) |
| HSV | hsv(215, 83%, 55%) |
| CMYK | cmyk(82.9%, 48.6%, 0%, 45.1%) |
| CIE-LAB | lab(31.16, 10.46, -42.30) |
| CIE-LCH | lch(31.16, 43.58, 283.88°) |
| OKLab | oklab(40.98% -0.0258 -0.1216) |
| OKLCH | oklch(40.98% 0.124 258) |
| XYZ | xyz(7.4259, 6.7215, 25.7119) |
| Luminance | 0.0672 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.92
Darkish Blue
#014182
ΔE00 2.60
Twilight Blue
#0A437A
ΔE00 3.02
Dusk Blue
#26538D
ΔE00 3.61
Light Navy
#155084
ΔE00 3.99
Prussian Blue
#004577
ΔE00 4.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18488C #8C5C18
analogous
#18828C #18488C #22188C
triadic
#18488C #8C1848 #488C18
tetradic
#18488C #8C1882 #8C5C18 #188C22
square
#18488C #8C1882 #8C5C18 #188C22
split-complementary
#18488C #8C2218 #828C18
monochromatic
#061224 #0F2D58 #18488C #2163C0 #4082DE
Accessibility & contrast
On white
8.96
#18488C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#18488C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18488C
8.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18488C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18488C | 1.00 | 8.96 | 2.34 | 8.96 |
| #FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#224F8F
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #18488c; /* rgb */ color: rgb(24, 72, 140); /* oklch */ color: oklch(41.0% 0.124 258.0);
Tailwind
colors: {
custom: {
50: '#697aae',
500: '#18488c',
950: '#000000',
},
}SCSS
$custom: #18488c; $custom-light: #697aae; $custom-dark: #000000;
JSON
{
"hex": "#18488c",
"rgb": {
"r": 24,
"g": 72,
"b": 140
},
"hsl": {
"h": 215.172,
"s": 70.732,
"l": 32.157
},
"oklch": {
"l": 0.40975,
"c": 0.12428,
"h": 258
},
"luminance": 0.06722
}Semantic roles & 50–950 ramp
primary
#18488C
secondary
#BF8B41
accent
#A33AED
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F