#1F477C#1F477C
#1F477C is a dark, moderate cyan. Relative luminance 0.063; OKLCH L 39.8% C 0.100 H 256.4°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).
Color values
| HEX | #1F477C |
|---|---|
| RGB | rgb(31, 71, 124) |
| HSL | hsl(214, 60%, 30%) |
| HSV | hsv(214, 75%, 49%) |
| CMYK | cmyk(75%, 42.7%, 0%, 51.4%) |
| CIE-LAB | lab(30.04, 5.55, -34.18) |
| CIE-LCH | lch(30.04, 34.63, 279.22°) |
| OKLab | oklab(39.83% -0.0235 -0.0976) |
| OKLCH | oklch(39.83% 0.1 256.4) |
| XYZ | xyz(6.4551, 6.2523, 19.9315) |
| Luminance | 0.0625 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Twilight Blue
#0A437A
ΔE00 1.95
Darkish Blue
#014182
ΔE00 2.42
Cobalt (survey)
#1E488F
ΔE00 2.65
Prussian Blue
#004577
ΔE00 3.04
Light Navy
#155084
ΔE00 3.94
Dusk Blue
#26538D
ΔE00 4.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F477C #7C541F
analogous
#1F757C #1F477C #261F7C
triadic
#1F477C #7C1F47 #477C1F
tetradic
#1F477C #7C1F75 #7C541F #1F7C26
square
#1F477C #7C1F75 #7C541F #1F7C26
split-complementary
#1F477C #7C261F #757C1F
monochromatic
#070F1A #132B4B #1F477C #2B63AD #4581D0
Accessibility & contrast
On white
9.33
#1F477C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#1F477C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F477C
9.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F477C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F477C | 1.00 | 9.33 | 2.25 | 9.33 |
| #FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E4B7E
Deuteranopia (green-blind)
#1E437B
Tritanopia (blue-blind)
#00535B
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #1f477c; /* rgb */ color: rgb(31, 71, 124); /* oklch */ color: oklch(39.8% 0.100 256.4);
Tailwind
colors: {
custom: {
50: '#6879a2',
500: '#1f477c',
950: '#000000',
},
}SCSS
$custom: #1f477c; $custom-light: #6879a2; $custom-dark: #000000;
JSON
{
"hex": "#1f477c",
"rgb": {
"r": 31,
"g": 71,
"b": 124
},
"hsl": {
"h": 214.194,
"s": 60,
"l": 30.392
},
"oklch": {
"l": 0.39833,
"c": 0.1004,
"h": 256.4
},
"luminance": 0.06253
}Semantic roles & 50–950 ramp
primary
#1F477C
secondary
#AF8348
accent
#9F45E3
background
#F6F7FA
surface
#EBEDF3
border
#C6C8CD
text
#07090F
muted
#7A7B7F