#18389F#18389F
#18389F is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.2% C 0.171 H 265.4°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).
Color values
| HEX | #18389F |
|---|---|
| RGB | rgb(24, 56, 159) |
| HSL | hsl(226, 74%, 36%) |
| HSV | hsv(226, 85%, 62%) |
| CMYK | cmyk(84.9%, 64.8%, 0%, 37.6%) |
| CIE-LAB | lab(28.18, 29.12, -58.76) |
| CIE-LCH | lch(28.18, 65.58, 296.36°) |
| OKLab | oklab(39.2% -0.0137 -0.1702) |
| OKLCH | oklch(39.2% 0.171 265.4) |
| XYZ | xyz(8.0467, 5.5248, 33.4364) |
| Luminance | 0.0553 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.09
Cobalt
#0047AB
ΔE00 5.36
Blueberry
#464196
ΔE00 6.06
Blue Blue
#2242C7
ΔE00 6.10
Cobalt (survey)
#1E488F
ΔE00 6.54
Darkish Blue
#014182
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18389F #9F7F18
analogous
#187B9F #18389F #3C189F
triadic
#18389F #9F1838 #389F18
tetradic
#18389F #9F187B #9F7F18 #189F3C
square
#18389F #9F187B #9F7F18 #189F3C
split-complementary
#18389F #9F3C18 #7B9F18
monochromatic
#081335 #10256A #18389F #204BD4 #4D71E4
Accessibility & contrast
On white
9.98
#18389F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#18389F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18389F
9.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18389F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18389F | 1.00 | 9.98 | 2.11 | 9.98 |
| #FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049A2
Deuteranopia (green-blind)
#003C9D
Tritanopia (blue-blind)
#005366
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #18389f; /* rgb */ color: rgb(24, 56, 159); /* oklch */ color: oklch(39.2% 0.171 265.4);
Tailwind
colors: {
custom: {
50: '#6f6ebc',
500: '#18389f',
950: '#000000',
},
}SCSS
$custom: #18389f; $custom-light: #6f6ebc; $custom-dark: #000000;
JSON
{
"hex": "#18389f",
"rgb": {
"r": 24,
"g": 56,
"b": 159
},
"hsl": {
"h": 225.778,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.39199,
"c": 0.17074,
"h": 265.4
},
"luminance": 0.05526
}Semantic roles & 50–950 ramp
primary
#18389F
secondary
#C6A94D
accent
#C537F0
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090712
muted
#7B7A81