#18296F#18296F
#18296F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.6% C 0.123 H 268.0°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).
Color values
| HEX | #18296F |
|---|---|
| RGB | rgb(24, 41, 111) |
| HSL | hsl(228, 64%, 26%) |
| HSV | hsv(228, 78%, 44%) |
| CMYK | cmyk(78.4%, 63.1%, 0%, 56.5%) |
| CIE-LAB | lab(19.75, 20.37, -42.54) |
| CIE-LCH | lch(19.75, 47.16, 295.59°) |
| OKLab | oklab(31.6% -0.0042 -0.1229) |
| OKLCH | oklch(31.6% 0.123 268) |
| XYZ | xyz(4.0379, 2.9273, 15.3881) |
| Luminance | 0.0293 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.18
Midnight Blue
#191970
ΔE00 5.35
Marine Blue
#01386A
ΔE00 7.53
Navy Blue
#1B2A4A
ΔE00 7.61
Royal
#0C1793
ΔE00 8.29
Navy Blue (survey)
#001146
ΔE00 8.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18296F #6F5E18
analogous
#18556F #18296F #33186F
triadic
#18296F #6F1829 #296F18
tetradic
#18296F #6F1855 #6F5E18 #186F33
square
#18296F #6F1855 #6F5E18 #186F33
split-complementary
#18296F #6F3318 #556F18
monochromatic
#050919 #0D163D #18296F #233CA1 #2F4FD2
Accessibility & contrast
On white
13.24
#18296F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#18296F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18296F
13.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18296F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18296F | 1.00 | 13.24 | 1.59 | 13.24 |
| #FFFFFF | 13.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003471
Deuteranopia (green-blind)
#002C6E
Tritanopia (blue-blind)
#003B47
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #18296f; /* rgb */ color: rgb(24, 41, 111); /* oklch */ color: oklch(31.6% 0.123 268.0);
Tailwind
colors: {
custom: {
50: '#646299',
500: '#18296f',
950: '#000000',
},
}SCSS
$custom: #18296f; $custom-light: #646299; $custom-dark: #000000;
JSON
{
"hex": "#18296f",
"rgb": {
"r": 24,
"g": 41,
"b": 111
},
"hsl": {
"h": 228.276,
"s": 64.444,
"l": 26.471
},
"oklch": {
"l": 0.31599,
"c": 0.12293,
"h": 268
},
"luminance": 0.02928
}Semantic roles & 50–950 ramp
primary
#18296F
secondary
#A5913E
accent
#C740E7
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E