#1F507D#1F507D
#1F507D is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.1% C 0.092 H 249.3°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).
Color values
| HEX | #1F507D |
|---|---|
| RGB | rgb(31, 80, 125) |
| HSL | hsl(209, 60%, 31%) |
| HSV | hsv(209, 75%, 49%) |
| CMYK | cmyk(75.2%, 36%, 0%, 51%) |
| CIE-LAB | lab(32.94, -0.03, -30.20) |
| CIE-LCH | lch(32.94, 30.20, 269.95°) |
| OKLab | oklab(42.12% -0.0324 -0.0858) |
| OKLCH | oklch(42.12% 0.092 249.3) |
| XYZ | xyz(7.1340, 7.5085, 20.4714) |
| Luminance | 0.0751 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Light Navy
#155084
ΔE00 1.08
Dusk Blue
#26538D
ΔE00 2.82
Deep Sea Blue
#015482
ΔE00 3.17
Light Navy Blue
#2E5A88
ΔE00 3.56
Prussian Blue
#004577
ΔE00 3.70
Twilight Blue
#0A437A
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F507D #7D4C1F
analogous
#1F7D7B #1F507D #1F217D
triadic
#1F507D #7D1F50 #507D1F
tetradic
#1F507D #7B1F7D #7D4C1F #217D1F
square
#1F507D #7B1F7D #7D4C1F #217D1F
split-complementary
#1F507D #7D1F21 #7D7B1F
monochromatic
#07111B #13314C #1F507D #2B6FAE #458ED1
Accessibility & contrast
On white
8.39
#1F507D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#1F507D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F507D
8.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F507D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F507D | 1.00 | 8.39 | 2.50 | 8.39 |
| #FFFFFF | 8.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C527F
Deuteranopia (green-blind)
#2E497C
Tritanopia (blue-blind)
#005B60
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #1f507d; /* rgb */ color: rgb(31, 80, 125); /* oklch */ color: oklch(42.1% 0.092 249.3);
Tailwind
colors: {
custom: {
50: '#6880a3',
500: '#1f507d',
950: '#000000',
},
}SCSS
$custom: #1f507d; $custom-light: #6880a3; $custom-dark: #000000;
JSON
{
"hex": "#1f507d",
"rgb": {
"r": 31,
"g": 80,
"b": 125
},
"hsl": {
"h": 208.723,
"s": 60.256,
"l": 30.588
},
"oklch": {
"l": 0.42115,
"c": 0.09172,
"h": 249.3
},
"luminance": 0.07509
}Semantic roles & 50–950 ramp
primary
#1F507D
secondary
#B07A48
accent
#9144E3
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#070A0F
muted
#7A7C7F