#1F517C#1F517C
#1F517C is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.3% C 0.089 H 247.8°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).
Color values
| HEX | #1F517C |
|---|---|
| RGB | rgb(31, 81, 124) |
| HSL | hsl(208, 60%, 30%) |
| HSV | hsv(208, 75%, 49%) |
| CMYK | cmyk(75%, 34.7%, 0%, 51.4%) |
| CIE-LAB | lab(33.20, -1.06, -29.16) |
| CIE-LCH | lch(33.20, 29.18, 267.91°) |
| OKLab | oklab(42.3% -0.0337 -0.0827) |
| OKLCH | oklch(42.3% 0.089 247.8) |
| XYZ | xyz(7.1442, 7.6306, 20.1612) |
| Luminance | 0.0763 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Light Navy
#155084
ΔE00 1.39
Deep Sea Blue
#015482
ΔE00 2.65
Dusk Blue
#26538D
ΔE00 3.18
Light Navy Blue
#2E5A88
ΔE00 3.44
Prussian Blue
#004577
ΔE00 4.04
Twilight Blue
#0A437A
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F517C #7C4A1F
analogous
#1F7C78 #1F517C #1F227C
triadic
#1F517C #7C1F51 #517C1F
tetradic
#1F517C #781F7C #7C4A1F #227C1F
square
#1F517C #781F7C #7C4A1F #227C1F
split-complementary
#1F517C #7C1F22 #7C781F
monochromatic
#07111A #13314B #1F517C #2B71AD #4590D0
Accessibility & contrast
On white
8.31
#1F517C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#1F517C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F517C
8.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F517C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F517C | 1.00 | 8.31 | 2.53 | 8.31 |
| #FFFFFF | 8.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D537E
Deuteranopia (green-blind)
#304A7B
Tritanopia (blue-blind)
#005B60
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #1f517c; /* rgb */ color: rgb(31, 81, 124); /* oklch */ color: oklch(42.3% 0.089 247.8);
Tailwind
colors: {
custom: {
50: '#6881a2',
500: '#1f517c',
950: '#000000',
},
}SCSS
$custom: #1f517c; $custom-light: #6881a2; $custom-dark: #000000;
JSON
{
"hex": "#1f517c",
"rgb": {
"r": 31,
"g": 81,
"b": 124
},
"hsl": {
"h": 207.742,
"s": 60,
"l": 30.392
},
"oklch": {
"l": 0.42304,
"c": 0.08937,
"h": 247.8
},
"luminance": 0.07631
}Semantic roles & 50–950 ramp
primary
#1F517C
secondary
#AF7748
accent
#8E45E3
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#070A0F
muted
#7A7C7F