#18458E#18458E
#18458E is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.4% C 0.131 H 259.8°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).
Color values
| HEX | #18458E |
|---|---|
| RGB | rgb(24, 69, 142) |
| HSL | hsl(217, 71%, 33%) |
| HSV | hsv(217, 83%, 56%) |
| CMYK | cmyk(83.1%, 51.4%, 0%, 44.3%) |
| CIE-LAB | lab(30.41, 13.34, -44.75) |
| CIE-LCH | lch(30.41, 46.70, 286.59°) |
| OKLab | oklab(40.44% -0.0231 -0.1288) |
| OKLCH | oklch(40.44% 0.131 259.8) |
| XYZ | xyz(7.3855, 6.4025, 26.4325) |
| Luminance | 0.0640 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.97
Darkish Blue
#014182
ΔE00 2.53
Twilight Blue
#0A437A
ΔE00 3.42
Cobalt
#0047AB
ΔE00 3.81
Prussian Blue
#004577
ΔE00 4.71
Dusk Blue
#26538D
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18458E #8E6118
analogous
#18808E #18458E #26188E
triadic
#18458E #8E1845 #458E18
tetradic
#18458E #8E1880 #8E6118 #188E26
square
#18458E #8E1880 #8E6118 #188E26
split-complementary
#18458E #8E2618 #808E18
monochromatic
#061225 #0F2C5A #18458E #215EC2 #417EDF
Accessibility & contrast
On white
9.21
#18458E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#18458E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18458E
9.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18458E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18458E | 1.00 | 9.21 | 2.28 | 9.21 |
| #FFFFFF | 9.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#174D91
Deuteranopia (green-blind)
#00438D
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #18458e; /* rgb */ color: rgb(24, 69, 142); /* oklch */ color: oklch(40.4% 0.131 259.8);
Tailwind
colors: {
custom: {
50: '#6a78b0',
500: '#18458e',
950: '#000000',
},
}SCSS
$custom: #18458e; $custom-light: #6a78b0; $custom-dark: #000000;
JSON
{
"hex": "#18458e",
"rgb": {
"r": 24,
"g": 69,
"b": 142
},
"hsl": {
"h": 217.119,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.40438,
"c": 0.13089,
"h": 259.8
},
"luminance": 0.06403
}Semantic roles & 50–950 ramp
primary
#18458E
secondary
#C09042
accent
#A93AEE
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080810
muted
#7A7B7F