#1F508D#1F508D
#1F508D is a dark, moderate cyan. Relative luminance 0.080; OKLCH L 43.2% C 0.114 H 255.6°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).
Color values
| HEX | #1F508D |
|---|---|
| RGB | rgb(31, 80, 141) |
| HSL | hsl(213, 64%, 34%) |
| HSV | hsv(213, 78%, 55%) |
| CMYK | cmyk(78%, 43.3%, 0%, 44.7%) |
| CIE-LAB | lab(33.88, 6.29, -38.55) |
| CIE-LCH | lch(33.88, 39.06, 279.27°) |
| OKLab | oklab(43.16% -0.0282 -0.1103) |
| OKLCH | oklch(43.16% 0.114 255.6) |
| XYZ | xyz(8.2397, 7.9508, 26.2945) |
| Luminance | 0.0795 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.04
Light Navy
#155084
ΔE00 2.23
Cobalt (survey)
#1E488F
ΔE00 3.09
Light Navy Blue
#2E5A88
ΔE00 3.63
Denim Blue
#3B5B92
ΔE00 4.52
Twilight Blue
#0A437A
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F508D #8D5C1F
analogous
#1F878D #1F508D #251F8D
triadic
#1F508D #8D1F50 #508D1F
tetradic
#1F508D #8D1F87 #8D5C1F #1F8D25
square
#1F508D #8D1F87 #8D5C1F #1F8D25
split-complementary
#1F508D #8D251F #878D1F
monochromatic
#091729 #14345B #1F508D #2A6CBF #4E8CD8
Accessibility & contrast
On white
8.11
#1F508D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#1F508D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F508D
8.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F508D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F508D | 1.00 | 8.11 | 2.59 | 8.11 |
| #FFFFFF | 8.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#32558F
Deuteranopia (green-blind)
#1F4B8C
Tritanopia (blue-blind)
#005E67
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #1f508d; /* rgb */ color: rgb(31, 80, 141); /* oklch */ color: oklch(43.2% 0.114 255.6);
Tailwind
colors: {
custom: {
50: '#6b80af',
500: '#1f508d',
950: '#000000',
},
}SCSS
$custom: #1f508d; $custom-light: #6b80af; $custom-dark: #000000;
JSON
{
"hex": "#1f508d",
"rgb": {
"r": 31,
"g": 80,
"b": 141
},
"hsl": {
"h": 213.273,
"s": 63.953,
"l": 33.725
},
"oklch": {
"l": 0.43158,
"c": 0.11382,
"h": 255.6
},
"luminance": 0.07952
}Semantic roles & 50–950 ramp
primary
#1F508D
secondary
#BB8A4D
accent
#9D41E7
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F