#18438B#18438B
#18438B is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.7% C 0.129 H 260.2°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).
Color values
| HEX | #18438B |
|---|---|
| RGB | rgb(24, 67, 139) |
| HSL | hsl(218, 71%, 32%) |
| HSV | hsv(218, 83%, 55%) |
| CMYK | cmyk(82.7%, 51.8%, 0%, 45.5%) |
| CIE-LAB | lab(29.59, 13.48, -44.22) |
| CIE-LCH | lch(29.59, 46.23, 286.96°) |
| OKLab | oklab(39.75% -0.022 -0.1273) |
| OKLCH | oklch(39.75% 0.129 260.2) |
| XYZ | xyz(7.0423, 6.0717, 25.2219) |
| Luminance | 0.0607 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.61
Darkish Blue
#014182
ΔE00 2.28
Twilight Blue
#0A437A
ΔE00 3.31
Cobalt
#0047AB
ΔE00 4.27
Prussian Blue
#004577
ΔE00 4.76
Dusk Blue
#26538D
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18438B #8B6018
analogous
#187D8B #18438B #26188B
triadic
#18438B #8B1843 #438B18
tetradic
#18438B #8B187D #8B6018 #188B26
square
#18438B #8B187D #8B6018 #188B26
split-complementary
#18438B #8B2618 #7D8B18
monochromatic
#061123 #0F2A57 #18438B #215CBF #3F7BDE
Accessibility & contrast
On white
9.48
#18438B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#18438B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18438B
9.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18438B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18438B | 1.00 | 9.48 | 2.21 | 9.48 |
| #FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#154B8E
Deuteranopia (green-blind)
#00418A
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #18438b; /* rgb */ color: rgb(24, 67, 139); /* oklch */ color: oklch(39.7% 0.129 260.2);
Tailwind
colors: {
custom: {
50: '#6976ad',
500: '#18438b',
950: '#000000',
},
}SCSS
$custom: #18438b; $custom-light: #6976ad; $custom-dark: #000000;
JSON
{
"hex": "#18438b",
"rgb": {
"r": 24,
"g": 67,
"b": 139
},
"hsl": {
"h": 217.565,
"s": 70.552,
"l": 31.961
},
"oklch": {
"l": 0.39746,
"c": 0.1292,
"h": 260.2
},
"luminance": 0.06073
}Semantic roles & 50–950 ramp
primary
#18438B
secondary
#BE8F40
accent
#AA3AED
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F