#18438C#18438C
#18438C is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.8% C 0.131 H 260.4°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).
Color values
| HEX | #18438C |
|---|---|
| RGB | rgb(24, 67, 140) |
| HSL | hsl(218, 71%, 32%) |
| HSV | hsv(218, 83%, 55%) |
| CMYK | cmyk(82.9%, 52.1%, 0%, 45.1%) |
| CIE-LAB | lab(29.67, 13.89, -44.72) |
| CIE-LCH | lch(29.67, 46.83, 287.26°) |
| OKLab | oklab(39.83% -0.0218 -0.1288) |
| OKLCH | oklch(39.83% 0.131 260.4) |
| XYZ | xyz(7.1157, 6.1011, 25.6085) |
| Luminance | 0.0610 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.60
Darkish Blue
#014182
ΔE00 2.40
Twilight Blue
#0A437A
ΔE00 3.45
Cobalt
#0047AB
ΔE00 4.15
Prussian Blue
#004577
ΔE00 4.87
Dusk Blue
#26538D
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18438C #8C6118
analogous
#187D8C #18438C #27188C
triadic
#18438C #8C1843 #438C18
tetradic
#18438C #8C187D #8C6118 #188C27
square
#18438C #8C187D #8C6118 #188C27
split-complementary
#18438C #8C2718 #7D8C18
monochromatic
#061124 #0F2A58 #18438C #215CC0 #407BDE
Accessibility & contrast
On white
9.46
#18438C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#18438C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18438C
9.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18438C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18438C | 1.00 | 9.46 | 2.22 | 9.46 |
| #FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#134B8F
Deuteranopia (green-blind)
#00418B
Tritanopia (blue-blind)
#005561
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #18438c; /* rgb */ color: rgb(24, 67, 140); /* oklch */ color: oklch(39.8% 0.131 260.4);
Tailwind
colors: {
custom: {
50: '#6a76ae',
500: '#18438c',
950: '#000000',
},
}SCSS
$custom: #18438c; $custom-light: #6a76ae; $custom-dark: #000000;
JSON
{
"hex": "#18438c",
"rgb": {
"r": 24,
"g": 67,
"b": 140
},
"hsl": {
"h": 217.759,
"s": 70.732,
"l": 32.157
},
"oklch": {
"l": 0.39825,
"c": 0.13063,
"h": 260.4
},
"luminance": 0.06102
}Semantic roles & 50–950 ramp
primary
#18438C
secondary
#BF9041
accent
#AB3AED
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F