#18276F#18276F
#18276F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.2% C 0.126 H 268.7°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).
Color values
| HEX | #18276F |
|---|---|
| RGB | rgb(24, 39, 111) |
| HSL | hsl(230, 64%, 26%) |
| HSV | hsv(230, 78%, 44%) |
| CMYK | cmyk(78.4%, 64.9%, 0%, 56.5%) |
| CIE-LAB | lab(19.19, 21.80, -43.45) |
| CIE-LCH | lch(19.19, 48.61, 296.64°) |
| OKLab | oklab(31.19% -0.0028 -0.1255) |
| OKLCH | oklch(31.19% 0.126 268.7) |
| XYZ | xyz(3.9705, 2.7925, 15.3656) |
| Luminance | 0.0279 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.62
Marine
#042E60
ΔE00 5.77
Royal
#0C1793
ΔE00 7.79
Navy Blue
#1B2A4A
ΔE00 7.94
Navy Blue (survey)
#001146
ΔE00 8.20
Marine Blue
#01386A
ΔE00 8.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18276F #6F6018
analogous
#18536F #18276F #35186F
triadic
#18276F #6F1827 #276F18
tetradic
#18276F #6F1853 #6F6018 #186F35
square
#18276F #6F1853 #6F6018 #186F35
split-complementary
#18276F #6F3518 #536F18
monochromatic
#050919 #0D153D #18276F #2339A1 #2F4BD2
Accessibility & contrast
On white
13.47
#18276F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#18276F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18276F
13.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18276F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18276F | 1.00 | 13.47 | 1.56 | 13.47 |
| #FFFFFF | 13.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003371
Deuteranopia (green-blind)
#002B6E
Tritanopia (blue-blind)
#003A47
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #18276f; /* rgb */ color: rgb(24, 39, 111); /* oklch */ color: oklch(31.2% 0.126 268.7);
Tailwind
colors: {
custom: {
50: '#646099',
500: '#18276f',
950: '#000000',
},
}SCSS
$custom: #18276f; $custom-light: #646099; $custom-dark: #000000;
JSON
{
"hex": "#18276f",
"rgb": {
"r": 24,
"g": 39,
"b": 111
},
"hsl": {
"h": 229.655,
"s": 64.444,
"l": 26.471
},
"oklch": {
"l": 0.31185,
"c": 0.12558,
"h": 268.7
},
"luminance": 0.02793
}Semantic roles & 50–950 ramp
primary
#18276F
secondary
#A5933E
accent
#CB40E7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E