#1F506F#1F506F
#1F506F is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.3% C 0.074 H 239.8°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).
Color values
| HEX | #1F506F |
|---|---|
| RGB | rgb(31, 80, 111) |
| HSL | hsl(203, 56%, 28%) |
| HSV | hsv(203, 72%, 44%) |
| CMYK | cmyk(72.1%, 27.9%, 0%, 56.5%) |
| CIE-LAB | lab(32.20, -5.40, -22.63) |
| CIE-LCH | lch(32.20, 23.26, 256.57°) |
| OKLab | oklab(41.3% -0.037 -0.0637) |
| OKLCH | oklch(41.3% 0.074 239.8) |
| XYZ | xyz(6.3019, 7.1756, 16.0888) |
| Luminance | 0.0718 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dark Slate Blue
#214761
ΔE00 3.30
Deep Sea Blue
#015482
ΔE00 3.57
Dark Grey Blue
#29465B
ΔE00 4.68
Light Navy
#155084
ΔE00 4.69
Prussian Blue
#004577
ΔE00 5.60
Light Navy Blue
#2E5A88
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F506F #6F3E1F
analogous
#1F6F66 #1F506F #1F286F
triadic
#1F506F #6F1F50 #506F1F
tetradic
#1F506F #661F6F #6F3E1F #286F1F
square
#1F506F #661F6F #6F3E1F #286F1F
split-complementary
#1F506F #6F1F28 #6F661F
monochromatic
#071118 #122E3F #1F506F #2C729F #3F94C9
Accessibility & contrast
On white
8.62
#1F506F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#1F506F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F506F
8.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F506F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F506F | 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)
#425070
Deuteranopia (green-blind)
#37486E
Tritanopia (blue-blind)
#00585B
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #1f506f; /* rgb */ color: rgb(31, 80, 111); /* oklch */ color: oklch(41.3% 0.074 239.8);
Tailwind
colors: {
custom: {
50: '#658198',
500: '#1f506f',
950: '#000000',
},
}SCSS
$custom: #1f506f; $custom-light: #658198; $custom-dark: #000000;
JSON
{
"hex": "#1f506f",
"rgb": {
"r": 31,
"g": 80,
"b": 111
},
"hsl": {
"h": 203.25,
"s": 56.338,
"l": 27.843
},
"oklch": {
"l": 0.41295,
"c": 0.07372,
"h": 239.8
},
"luminance": 0.07176
}Semantic roles & 50–950 ramp
primary
#1F506F
secondary
#A36B47
accent
#8348E0
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0D
muted
#7A7C7E