#1F507E#1F507E
#1F507E is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.2% C 0.093 H 249.8°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).
Color values
| HEX | #1F507E |
|---|---|
| RGB | rgb(31, 80, 126) |
| HSL | hsl(209, 61%, 31%) |
| HSV | hsv(209, 75%, 49%) |
| CMYK | cmyk(75.4%, 36.5%, 0%, 50.6%) |
| CIE-LAB | lab(32.99, 0.36, -30.73) |
| CIE-LCH | lch(32.99, 30.73, 270.68°) |
| OKLab | oklab(42.18% -0.0321 -0.0873) |
| OKLCH | oklch(42.18% 0.093 249.8) |
| XYZ | xyz(7.1982, 7.5342, 20.8095) |
| Luminance | 0.0754 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Light Navy
#155084
ΔE00 0.98
Dusk Blue
#26538D
ΔE00 2.64
Deep Sea Blue
#015482
ΔE00 3.29
Light Navy Blue
#2E5A88
ΔE00 3.51
Prussian Blue
#004577
ΔE00 3.70
Twilight Blue
#0A437A
ΔE00 4.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F507E #7E4D1F
analogous
#1F7E7C #1F507E #1F207E
triadic
#1F507E #7E1F50 #507E1F
tetradic
#1F507E #7C1F7E #7E4D1F #207E1F
square
#1F507E #7C1F7E #7E4D1F #207E1F
split-complementary
#1F507E #7E1F20 #7E7C1F
monochromatic
#07121C #13314D #1F507E #2B6FAF #468ED1
Accessibility & contrast
On white
8.38
#1F507E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#1F507E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F507E
8.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F507E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F507E | 1.00 | 8.38 | 2.51 | 8.38 |
| #FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B5280
Deuteranopia (green-blind)
#2D4A7D
Tritanopia (blue-blind)
#005B61
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #1f507e; /* rgb */ color: rgb(31, 80, 126); /* oklch */ color: oklch(42.2% 0.093 249.8);
Tailwind
colors: {
custom: {
50: '#6880a3',
500: '#1f507e',
950: '#000000',
},
}SCSS
$custom: #1f507e; $custom-light: #6880a3; $custom-dark: #000000;
JSON
{
"hex": "#1f507e",
"rgb": {
"r": 31,
"g": 80,
"b": 126
},
"hsl": {
"h": 209.053,
"s": 60.51,
"l": 30.784
},
"oklch": {
"l": 0.42177,
"c": 0.09306,
"h": 249.8
},
"luminance": 0.07535
}Semantic roles & 50–950 ramp
primary
#1F507E
secondary
#B17B48
accent
#9144E4
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F