#1F477D#1F477D
#1F477D is a dark, moderate cyan. Relative luminance 0.063; OKLCH L 39.9% C 0.102 H 256.8°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).
Color values
| HEX | #1F477D |
|---|---|
| RGB | rgb(31, 71, 125) |
| HSL | hsl(214, 60%, 31%) |
| HSV | hsv(214, 75%, 49%) |
| CMYK | cmyk(75.2%, 43.2%, 0%, 51%) |
| CIE-LAB | lab(30.10, 5.95, -34.70) |
| CIE-LCH | lch(30.10, 35.21, 279.72°) |
| OKLab | oklab(39.9% -0.0233 -0.0991) |
| OKLCH | oklch(39.9% 0.102 256.8) |
| XYZ | xyz(6.5186, 6.2777, 20.2662) |
| Luminance | 0.0628 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Twilight Blue
#0A437A
ΔE00 2.01
Darkish Blue
#014182
ΔE00 2.39
Cobalt (survey)
#1E488F
ΔE00 2.51
Prussian Blue
#004577
ΔE00 3.14
Light Navy
#155084
ΔE00 3.98
Dusk Blue
#26538D
ΔE00 4.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F477D #7D551F
analogous
#1F767D #1F477D #261F7D
triadic
#1F477D #7D1F47 #477D1F
tetradic
#1F477D #7D1F76 #7D551F #1F7D26
square
#1F477D #7D1F76 #7D551F #1F7D26
split-complementary
#1F477D #7D261F #767D1F
monochromatic
#070F1B #132B4C #1F477D #2B63AE #4581D1
Accessibility & contrast
On white
9.31
#1F477D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#1F477D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F477D
9.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F477D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F477D | 1.00 | 9.31 | 2.26 | 9.31 |
| #FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4C7F
Deuteranopia (green-blind)
#1D437C
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #1f477d; /* rgb */ color: rgb(31, 71, 125); /* oklch */ color: oklch(39.9% 0.102 256.8);
Tailwind
colors: {
custom: {
50: '#6879a3',
500: '#1f477d',
950: '#000000',
},
}SCSS
$custom: #1f477d; $custom-light: #6879a3; $custom-dark: #000000;
JSON
{
"hex": "#1f477d",
"rgb": {
"r": 31,
"g": 71,
"b": 125
},
"hsl": {
"h": 214.468,
"s": 60.256,
"l": 30.588
},
"oklch": {
"l": 0.39901,
"c": 0.10185,
"h": 256.8
},
"luminance": 0.06278
}Semantic roles & 50–950 ramp
primary
#1F477D
secondary
#B08448
accent
#A044E3
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F