#1F4C86#1F4C86
#1F4C86 is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.7% C 0.109 H 256.1°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4C86 |
|---|---|
| RGB | rgb(31, 76, 134) |
| HSL | hsl(214, 62%, 32%) |
| HSV | hsv(214, 77%, 53%) |
| CMYK | cmyk(76.9%, 43.3%, 0%, 47.5%) |
| CIE-LAB | lab(32.21, 6.17, -36.91) |
| CIE-LCH | lch(32.21, 37.42, 279.49°) |
| OKLab | oklab(41.72% -0.0261 -0.1055) |
| OKLCH | oklch(41.72% 0.109 256.1) |
| XYZ | xyz(7.4510, 7.1806, 23.5429) |
| Luminance | 0.0718 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.26
Dusk Blue
#26538D
ΔE00 2.35
Light Navy
#155084
ΔE00 2.64
Twilight Blue
#0A437A
ΔE00 3.25
Darkish Blue
#014182
ΔE00 3.56
Prussian Blue
#004577
ΔE00 3.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4C86 #86591F
analogous
#1F8086 #1F4C86 #251F86
triadic
#1F4C86 #861F4C #4C861F
tetradic
#1F4C86 #861F80 #86591F #1F8625
square
#1F4C86 #861F80 #86591F #1F8625
split-complementary
#1F4C86 #86251F #80861F
monochromatic
#081423 #143054 #1F4C86 #2A68B8 #4A87D5
Accessibility & contrast
On white
8.62
#1F4C86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#1F4C86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4C86
8.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4C86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4C86 | 1.00 | 8.62 | 2.44 | 8.62 |
| #FFFFFF | 8.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#305188
Deuteranopia (green-blind)
#1E4785
Tritanopia (blue-blind)
#005A62
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #1f4c86; /* rgb */ color: rgb(31, 76, 134); /* oklch */ color: oklch(41.7% 0.109 256.1);
Tailwind
colors: {
custom: {
50: '#6a7da9',
500: '#1f4c86',
950: '#000000',
},
}SCSS
$custom: #1f4c86; $custom-light: #6a7da9; $custom-dark: #000000;
JSON
{
"hex": "#1f4c86",
"rgb": {
"r": 31,
"g": 76,
"b": 134
},
"hsl": {
"h": 213.786,
"s": 62.424,
"l": 32.353
},
"oklch": {
"l": 0.41723,
"c": 0.10871,
"h": 256.1
},
"luminance": 0.07181
}Semantic roles & 50–950 ramp
primary
#1F4C86
secondary
#B88749
accent
#9E42E5
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070910
muted
#7A7B7F