#18438F#18438F
#18438F is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.1% C 0.135 H 260.9°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).
Color values
| HEX | #18438F |
|---|---|
| RGB | rgb(24, 67, 143) |
| HSL | hsl(218, 71%, 33%) |
| HSV | hsv(218, 83%, 56%) |
| CMYK | cmyk(83.2%, 53.1%, 0%, 43.9%) |
| CIE-LAB | lab(29.89, 15.13, -46.20) |
| CIE-LCH | lch(29.89, 48.62, 288.13°) |
| OKLab | oklab(40.07% -0.0214 -0.1332) |
| OKLCH | oklch(40.07% 0.135 260.9) |
| XYZ | xyz(7.3400, 6.1908, 26.7894) |
| Luminance | 0.0619 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.65
Darkish Blue
#014182
ΔE00 2.78
Cobalt
#0047AB
ΔE00 3.77
Twilight Blue
#0A437A
ΔE00 3.85
Prussian Blue
#004577
ΔE00 5.22
Dusk Blue
#26538D
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18438F #8F6418
analogous
#187E8F #18438F #28188F
triadic
#18438F #8F1843 #438F18
tetradic
#18438F #8F187E #8F6418 #188F28
square
#18438F #8F187E #8F6418 #188F28
split-complementary
#18438F #8F2818 #7E8F18
monochromatic
#061226 #0F2A5B #18438F #215CC3 #427BDF
Accessibility & contrast
On white
9.38
#18438F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#18438F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18438F
9.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18438F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18438F | 1.00 | 9.38 | 2.24 | 9.38 |
| #FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D4C92
Deuteranopia (green-blind)
#00418E
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #18438f; /* rgb */ color: rgb(24, 67, 143); /* oklch */ color: oklch(40.1% 0.135 260.9);
Tailwind
colors: {
custom: {
50: '#6a76b0',
500: '#18438f',
950: '#000000',
},
}SCSS
$custom: #18438f; $custom-light: #6a76b0; $custom-dark: #000000;
JSON
{
"hex": "#18438f",
"rgb": {
"r": 24,
"g": 67,
"b": 143
},
"hsl": {
"h": 218.319,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.40066,
"c": 0.13487,
"h": 260.9
},
"luminance": 0.06192
}Semantic roles & 50–950 ramp
primary
#18438F
secondary
#C09343
accent
#AD3AEE
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080811
muted
#7A7B80