#1F4F7D#1F4F7D
#1F4F7D is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 41.9% C 0.093 H 250.2°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4F7D |
|---|---|
| RGB | rgb(31, 79, 125) |
| HSL | hsl(209, 60%, 31%) |
| HSV | hsv(209, 75%, 49%) |
| CMYK | cmyk(75.2%, 36.8%, 0%, 51%) |
| CIE-LAB | lab(32.62, 0.63, -30.70) |
| CIE-LCH | lch(32.62, 30.71, 271.17°) |
| OKLab | oklab(41.87% -0.0314 -0.0873) |
| OKLCH | oklch(41.87% 0.093 250.2) |
| XYZ | xyz(7.0613, 7.3632, 20.4471) |
| Luminance | 0.0736 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Light Navy
#155084
ΔE00 1.14
Dusk Blue
#26538D
ΔE00 2.73
Prussian Blue
#004577
ΔE00 3.42
Deep Sea Blue
#015482
ΔE00 3.58
Light Navy Blue
#2E5A88
ΔE00 3.80
Twilight Blue
#0A437A
ΔE00 4.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4F7D #7D4D1F
analogous
#1F7D7C #1F4F7D #1F207D
triadic
#1F4F7D #7D1F4F #4F7D1F
tetradic
#1F4F7D #7C1F7D #7D4D1F #207D1F
square
#1F4F7D #7C1F7D #7D4D1F #207D1F
split-complementary
#1F4F7D #7D1F20 #7D7C1F
monochromatic
#07111B #13304C #1F4F7D #2B6EAE #458DD1
Accessibility & contrast
On white
8.49
#1F4F7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#1F4F7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4F7D
8.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4F7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4F7D | 1.00 | 8.49 | 2.47 | 8.49 |
| #FFFFFF | 8.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A527F
Deuteranopia (green-blind)
#2C497C
Tritanopia (blue-blind)
#005A60
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #1f4f7d; /* rgb */ color: rgb(31, 79, 125); /* oklch */ color: oklch(41.9% 0.093 250.2);
Tailwind
colors: {
custom: {
50: '#6880a3',
500: '#1f4f7d',
950: '#000000',
},
}SCSS
$custom: #1f4f7d; $custom-light: #6880a3; $custom-dark: #000000;
JSON
{
"hex": "#1f4f7d",
"rgb": {
"r": 31,
"g": 79,
"b": 125
},
"hsl": {
"h": 209.362,
"s": 60.256,
"l": 30.588
},
"oklch": {
"l": 0.41866,
"c": 0.09275,
"h": 250.2
},
"luminance": 0.07364
}Semantic roles & 50–950 ramp
primary
#1F4F7D
secondary
#B07B48
accent
#9244E3
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#070A0F
muted
#7A7C7F