#18314F#18314F
#18314F is a dark, moderate cyan. Relative luminance 0.030; OKLCH L 30.9% C 0.063 H 254.1°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).
Color values
| HEX | #18314F |
|---|---|
| RGB | rgb(24, 49, 79) |
| HSL | hsl(213, 53%, 20%) |
| HSV | hsv(213, 70%, 31%) |
| CMYK | cmyk(69.6%, 38%, 0%, 69%) |
| CIE-LAB | lab(19.86, 1.40, -21.28) |
| CIE-LCH | lch(19.86, 21.33, 273.77°) |
| OKLab | oklab(30.93% -0.0171 -0.0603) |
| OKLCH | oklch(30.93% 0.063 254.1) |
| XYZ | xyz(2.8858, 2.9551, 7.8139) |
| Luminance | 0.0295 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 3.96
Marine
#042E60
ΔE00 4.20
Marine Blue
#01386A
ΔE00 5.08
Dark Blue Grey
#1F3B4D
ΔE00 7.40
Dark
#1B2431
ΔE00 7.80
Twilight Blue
#0A437A
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18314F #4F3618
analogous
#184C4F #18314F #1A184F
triadic
#18314F #4F1831 #314F18
tetradic
#18314F #4F184C #4F3618 #184F1A
square
#18314F #4F184C #4F3618 #184F1A
split-complementary
#18314F #4F1A18 #4C4F18
monochromatic
#070F17 #0A1420 #18314F #264E7E #356BAD
Accessibility & contrast
On white
13.20
#18314F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#18314F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18314F
13.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18314F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18314F | 1.00 | 13.20 | 1.59 | 13.20 |
| #FFFFFF | 13.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#243350
Deuteranopia (green-blind)
#1D2E4E
Tritanopia (blue-blind)
#00383C
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #18314f; /* rgb */ color: rgb(24, 49, 79); /* oklch */ color: oklch(30.9% 0.063 254.1);
Tailwind
colors: {
custom: {
50: '#5b6880',
500: '#18314f',
950: '#000000',
},
}SCSS
$custom: #18314f; $custom-light: #5b6880; $custom-dark: #000000;
JSON
{
"hex": "#18314f",
"rgb": {
"r": 24,
"g": 49,
"b": 79
},
"hsl": {
"h": 212.727,
"s": 53.398,
"l": 20.196
},
"oklch": {
"l": 0.30929,
"c": 0.06267,
"h": 254.1
},
"luminance": 0.02955
}Semantic roles & 50–950 ramp
primary
#18314F
secondary
#86653D
accent
#9B4BDD
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C