#1F507F#1F507F
#1F507F is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.2% C 0.094 H 250.3°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).
Color values
| HEX | #1F507F |
|---|---|
| RGB | rgb(31, 80, 127) |
| HSL | hsl(209, 61%, 31%) |
| HSV | hsv(209, 76%, 50%) |
| CMYK | cmyk(75.6%, 37%, 0%, 50.2%) |
| CIE-LAB | lab(33.05, 0.76, -31.26) |
| CIE-LCH | lch(33.05, 31.27, 271.39°) |
| OKLab | oklab(42.24% -0.0318 -0.0889) |
| OKLCH | oklch(42.24% 0.094 250.3) |
| XYZ | xyz(7.2631, 7.5601, 21.1510) |
| Luminance | 0.0756 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Light Navy
#155084
ΔE00 0.91
Dusk Blue
#26538D
ΔE00 2.47
Deep Sea Blue
#015482
ΔE00 3.42
Light Navy Blue
#2E5A88
ΔE00 3.47
Prussian Blue
#004577
ΔE00 3.72
Twilight Blue
#0A437A
ΔE00 4.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F507F #7F4E1F
analogous
#1F7F7E #1F507F #1F207F
triadic
#1F507F #7F1F50 #507F1F
tetradic
#1F507F #7E1F7F #7F4E1F #207F1F
square
#1F507F #7E1F7F #7F4E1F #207F1F
split-complementary
#1F507F #7F1F20 #7F7E1F
monochromatic
#07121D #13314E #1F507F #2B6FB0 #468ED2
Accessibility & contrast
On white
8.36
#1F507F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#1F507F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F507F
8.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F507F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F507F | 1.00 | 8.36 | 2.51 | 8.36 |
| #FFFFFF | 8.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B5381
Deuteranopia (green-blind)
#2C4A7E
Tritanopia (blue-blind)
#005B61
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #1f507f; /* rgb */ color: rgb(31, 80, 127); /* oklch */ color: oklch(42.2% 0.094 250.3);
Tailwind
colors: {
custom: {
50: '#6880a4',
500: '#1f507f',
950: '#000000',
},
}SCSS
$custom: #1f507f; $custom-light: #6880a4; $custom-dark: #000000;
JSON
{
"hex": "#1f507f",
"rgb": {
"r": 31,
"g": 80,
"b": 127
},
"hsl": {
"h": 209.375,
"s": 60.759,
"l": 30.98
},
"oklch": {
"l": 0.42239,
"c": 0.09442,
"h": 250.3
},
"luminance": 0.07561
}Semantic roles & 50–950 ramp
primary
#1F507F
secondary
#B27C48
accent
#9244E4
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F