#18399F#18399F
#18399F is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.4% C 0.170 H 265.2°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).
Color values
| HEX | #18399F |
|---|---|
| RGB | rgb(24, 57, 159) |
| HSL | hsl(225, 74%, 36%) |
| HSV | hsv(225, 85%, 62%) |
| CMYK | cmyk(84.9%, 64.2%, 0%, 37.6%) |
| CIE-LAB | lab(28.44, 28.44, -58.33) |
| CIE-LCH | lch(28.44, 64.90, 295.99°) |
| OKLab | oklab(39.39% -0.0142 -0.1689) |
| OKLCH | oklch(39.39% 0.17 265.2) |
| XYZ | xyz(8.0956, 5.6227, 33.4528) |
| Luminance | 0.0562 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.22
Cobalt
#0047AB
ΔE00 5.05
Blue Blue
#2242C7
ΔE00 6.02
Blueberry
#464196
ΔE00 6.03
Cobalt (survey)
#1E488F
ΔE00 6.22
Darkish Blue
#014182
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18399F #9F7E18
analogous
#187C9F #18399F #3A189F
triadic
#18399F #9F1839 #399F18
tetradic
#18399F #9F187C #9F7E18 #189F3A
square
#18399F #9F187C #9F7E18 #189F3A
split-complementary
#18399F #9F3A18 #7C9F18
monochromatic
#081335 #10266A #18399F #204CD4 #4D72E4
Accessibility & contrast
On white
9.88
#18399F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#18399F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18399F
9.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18399F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18399F | 1.00 | 9.88 | 2.12 | 9.88 |
| #FFFFFF | 9.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#003D9D
Tritanopia (blue-blind)
#005466
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #18399f; /* rgb */ color: rgb(24, 57, 159); /* oklch */ color: oklch(39.4% 0.170 265.2);
Tailwind
colors: {
custom: {
50: '#6f6fbc',
500: '#18399f',
950: '#000000',
},
}SCSS
$custom: #18399f; $custom-light: #6f6fbc; $custom-dark: #000000;
JSON
{
"hex": "#18399f",
"rgb": {
"r": 24,
"g": 57,
"b": 159
},
"hsl": {
"h": 225.333,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.39391,
"c": 0.16953,
"h": 265.2
},
"luminance": 0.05624
}Semantic roles & 50–950 ramp
primary
#18399F
secondary
#C6A84D
accent
#C337F0
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090712
muted
#7B7A81