#18379F#18379F
#18379F is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.0% C 0.172 H 265.6°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).
Color values
| HEX | #18379F |
|---|---|
| RGB | rgb(24, 55, 159) |
| HSL | hsl(226, 74%, 36%) |
| HSV | hsv(226, 85%, 62%) |
| CMYK | cmyk(84.9%, 65.4%, 0%, 37.6%) |
| CIE-LAB | lab(27.92, 29.79, -59.18) |
| CIE-LCH | lch(27.92, 66.26, 296.72°) |
| OKLab | oklab(39.01% -0.0132 -0.1714) |
| OKLCH | oklch(39.01% 0.172 265.6) |
| XYZ | xyz(7.9987, 5.4288, 33.4205) |
| Luminance | 0.0543 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.01
Cobalt
#0047AB
ΔE00 5.66
Blueberry
#464196
ΔE00 6.12
Blue Blue
#2242C7
ΔE00 6.20
Cobalt (survey)
#1E488F
ΔE00 6.85
Darkslateblue
#483D8B
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18379F #9F8018
analogous
#187A9F #18379F #3C189F
triadic
#18379F #9F1837 #379F18
tetradic
#18379F #9F187A #9F8018 #189F3C
square
#18379F #9F187A #9F8018 #189F3C
split-complementary
#18379F #9F3C18 #7A9F18
monochromatic
#081235 #10256A #18379F #2049D4 #4D70E4
Accessibility & contrast
On white
10.07
#18379F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#18379F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18379F
10.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18379F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18379F | 1.00 | 10.07 | 2.09 | 10.07 |
| #FFFFFF | 10.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#003C9D
Tritanopia (blue-blind)
#005366
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #18379f; /* rgb */ color: rgb(24, 55, 159); /* oklch */ color: oklch(39.0% 0.172 265.6);
Tailwind
colors: {
custom: {
50: '#706dbc',
500: '#18379f',
950: '#000000',
},
}SCSS
$custom: #18379f; $custom-light: #706dbc; $custom-dark: #000000;
JSON
{
"hex": "#18379f",
"rgb": {
"r": 24,
"g": 55,
"b": 159
},
"hsl": {
"h": 226.222,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.39009,
"c": 0.17194,
"h": 265.6
},
"luminance": 0.0543
}Semantic roles & 50–950 ramp
primary
#18379F
secondary
#C6AA4D
accent
#C637F0
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090712
muted
#7B7A81