#18273F#18273F
#18273F is a dark, muted blue. Relative luminance 0.020; OKLCH L 27.2% C 0.049 H 259.5°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).
Color values
| HEX | #18273F |
|---|---|
| RGB | rgb(24, 39, 63) |
| HSL | hsl(217, 45%, 17%) |
| HSV | hsv(217, 62%, 25%) |
| CMYK | cmyk(61.9%, 38.1%, 0%, 75.3%) |
| CIE-LAB | lab(15.51, 2.21, -17.21) |
| CIE-LCH | lch(15.51, 17.36, 277.30°) |
| OKLab | oklab(27.22% -0.009 -0.0486) |
| OKLCH | oklch(27.22% 0.049 259.5) |
| XYZ | xyz(1.9991, 2.0040, 4.9831) |
| Luminance | 0.0200 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 3.22
Dark
#1B2431
ΔE00 5.05
Marine
#042E60
ΔE00 7.14
Navy (survey)
#01153E
ΔE00 7.83
Marine Blue
#01386A
ΔE00 9.14
Dark Blue Grey
#1F3B4D
ΔE00 9.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18273F #3F3018
analogous
#183B3F #18273F #1D183F
triadic
#18273F #3F1827 #273F18
tetradic
#18273F #3F183B #3F3018 #183F1D
square
#18273F #3F183B #3F3018 #183F1D
split-complementary
#18273F #3F1D18 #3B3F18
monochromatic
#080E16 #080E16 #18273F #29426B #3A5E98
Accessibility & contrast
On white
14.99
#18273F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.40
#18273F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18273F
14.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18273F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18273F | 1.00 | 14.99 | 1.40 | 14.99 |
| #FFFFFF | 14.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D2940
Deuteranopia (green-blind)
#19253E
Tritanopia (blue-blind)
#032C30
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #18273f; /* rgb */ color: rgb(24, 39, 63); /* oklch */ color: oklch(27.2% 0.049 259.5);
Tailwind
colors: {
custom: {
50: '#586074',
500: '#18273f',
950: '#000000',
},
}SCSS
$custom: #18273f; $custom-light: #586074; $custom-dark: #000000;
JSON
{
"hex": "#18273f",
"rgb": {
"r": 24,
"g": 39,
"b": 63
},
"hsl": {
"h": 216.923,
"s": 44.828,
"l": 17.059
},
"oklch": {
"l": 0.27221,
"c": 0.04938,
"h": 259.5
},
"luminance": 0.02004
}Semantic roles & 50–950 ramp
primary
#18273F
secondary
#75603D
accent
#A353D5
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030508
muted
#78797B