#1F406C#1F406C
#1F406C is a dark, moderate cyan. Relative luminance 0.050; OKLCH L 37.0% C 0.085 H 256.3°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).
Color values
| HEX | #1F406C |
|---|---|
| RGB | rgb(31, 64, 108) |
| HSL | hsl(214, 55%, 27%) |
| HSV | hsv(214, 71%, 42%) |
| CMYK | cmyk(71.3%, 40.7%, 0%, 57.6%) |
| CIE-LAB | lab(26.85, 3.95, -29.16) |
| CIE-LCH | lch(26.85, 29.42, 277.71°) |
| OKLab | oklab(37.03% -0.0202 -0.083) |
| OKLCH | oklch(37.03% 0.085 256.3) |
| XYZ | xyz(5.1043, 5.0403, 14.8883) |
| Luminance | 0.0504 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Twilight Blue
#0A437A
ΔE00 2.86
Marine Blue
#01386A
ΔE00 3.07
Darkish Blue
#014182
ΔE00 3.40
Prussian Blue
#004577
ΔE00 3.93
Cobalt (survey)
#1E488F
ΔE00 5.08
Marine
#042E60
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F406C #6C4B1F
analogous
#1F676C #1F406C #251F6C
triadic
#1F406C #6C1F40 #406C1F
tetradic
#1F406C #6C1F67 #6C4B1F #1F6C25
square
#1F406C #6C1F67 #6C4B1F #1F6C25
split-complementary
#1F406C #6C251F #676C1F
monochromatic
#070E18 #11243C #1F406C #2D5C9C #3E79C8
Accessibility & contrast
On white
10.46
#1F406C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#1F406C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F406C
10.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F406C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F406C | 1.00 | 10.46 | 2.01 | 10.46 |
| #FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C436E
Deuteranopia (green-blind)
#213C6B
Tritanopia (blue-blind)
#004A50
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #1f406c; /* rgb */ color: rgb(31, 64, 108); /* oklch */ color: oklch(37.0% 0.085 256.3);
Tailwind
colors: {
custom: {
50: '#647496',
500: '#1f406c',
950: '#000000',
},
}SCSS
$custom: #1f406c; $custom-light: #647496; $custom-dark: #000000;
JSON
{
"hex": "#1f406c",
"rgb": {
"r": 31,
"g": 64,
"b": 108
},
"hsl": {
"h": 214.286,
"s": 55.396,
"l": 27.255
},
"oklch": {
"l": 0.37033,
"c": 0.0854,
"h": 256.3
},
"luminance": 0.05041
}Semantic roles & 50–950 ramp
primary
#1F406C
secondary
#A07A47
accent
#9F49DF
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080D
muted
#7A7B7E