#18428C#18428C
#18428C is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.6% C 0.132 H 260.8°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #18428C |
|---|---|
| RGB | rgb(24, 66, 140) |
| HSL | hsl(218, 71%, 32%) |
| HSV | hsv(218, 83%, 55%) |
| CMYK | cmyk(82.9%, 52.9%, 0%, 45.1%) |
| CIE-LAB | lab(29.37, 14.59, -45.20) |
| CIE-LCH | lch(29.37, 47.49, 287.89°) |
| OKLab | oklab(39.6% -0.0211 -0.1302) |
| OKLCH | oklch(39.6% 0.132 260.8) |
| XYZ | xyz(7.0568, 5.9832, 25.5888) |
| Luminance | 0.0598 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.93
Darkish Blue
#014182
ΔE00 2.53
Twilight Blue
#0A437A
ΔE00 3.64
Cobalt
#0047AB
ΔE00 4.22
Prussian Blue
#004577
ΔE00 5.10
Marine Blue
#01386A
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18428C #8C6218
analogous
#187C8C #18428C #28188C
triadic
#18428C #8C1842 #428C18
tetradic
#18428C #8C187C #8C6218 #188C28
square
#18428C #8C187C #8C6218 #188C28
split-complementary
#18428C #8C2818 #7C8C18
monochromatic
#061124 #0F2958 #18428C #215BC0 #4079DE
Accessibility & contrast
On white
9.56
#18428C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#18428C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18428C
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18428C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18428C | 1.00 | 9.56 | 2.20 | 9.56 |
| #FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#104B8F
Deuteranopia (green-blind)
#00408B
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #18428c; /* rgb */ color: rgb(24, 66, 140); /* oklch */ color: oklch(39.6% 0.132 260.8);
Tailwind
colors: {
custom: {
50: '#6a75ae',
500: '#18428c',
950: '#000000',
},
}SCSS
$custom: #18428c; $custom-light: #6a75ae; $custom-dark: #000000;
JSON
{
"hex": "#18428c",
"rgb": {
"r": 24,
"g": 66,
"b": 140
},
"hsl": {
"h": 218.276,
"s": 70.732,
"l": 32.157
},
"oklch": {
"l": 0.39599,
"c": 0.13191,
"h": 260.8
},
"luminance": 0.05984
}Semantic roles & 50–950 ramp
primary
#18428C
secondary
#BF9141
accent
#AD3AED
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F