#182F4F#182F4F
#182F4F is a dark, moderate cyan. Relative luminance 0.028; OKLCH L 30.4% C 0.065 H 257.0°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).
Color values
| HEX | #182F4F |
|---|---|
| RGB | rgb(24, 47, 79) |
| HSL | hsl(215, 53%, 20%) |
| HSV | hsv(215, 70%, 31%) |
| CMYK | cmyk(69.6%, 40.5%, 0%, 69%) |
| CIE-LAB | lab(19.19, 2.82, -22.35) |
| CIE-LCH | lch(19.19, 22.52, 277.19°) |
| OKLab | oklab(30.4% -0.0147 -0.0634) |
| OKLCH | oklch(30.4% 0.065 257) |
| XYZ | xyz(2.8040, 2.7915, 7.7867) |
| Luminance | 0.0279 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 2.76
Marine
#042E60
ΔE00 3.84
Marine Blue
#01386A
ΔE00 5.46
Dark
#1B2431
ΔE00 8.13
Twilight Blue
#0A437A
ΔE00 8.58
Dark Blue Grey
#1F3B4D
ΔE00 8.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#182F4F #4F3818
analogous
#184A4F #182F4F #1C184F
triadic
#182F4F #4F182F #2F4F18
tetradic
#182F4F #4F184A #4F3818 #184F1C
square
#182F4F #4F184A #4F3818 #184F1C
split-complementary
#182F4F #4F1C18 #4A4F18
monochromatic
#070E17 #0A1320 #182F4F #264B7E #3567AD
Accessibility & contrast
On white
13.48
#182F4F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#182F4F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #182F4F
13.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##182F4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##182F4F | 1.00 | 13.48 | 1.56 | 13.48 |
| #FFFFFF | 13.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#213150
Deuteranopia (green-blind)
#192C4E
Tritanopia (blue-blind)
#00363B
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #182f4f; /* rgb */ color: rgb(24, 47, 79); /* oklch */ color: oklch(30.4% 0.065 257.0);
Tailwind
colors: {
custom: {
50: '#5b6780',
500: '#182f4f',
950: '#000000',
},
}SCSS
$custom: #182f4f; $custom-light: #5b6780; $custom-dark: #000000;
JSON
{
"hex": "#182f4f",
"rgb": {
"r": 24,
"g": 47,
"b": 79
},
"hsl": {
"h": 214.909,
"s": 53.398,
"l": 20.196
},
"oklch": {
"l": 0.30402,
"c": 0.06509,
"h": 257
},
"luminance": 0.02792
}Semantic roles & 50–950 ramp
primary
#182F4F
secondary
#86673D
accent
#A04BDD
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C