#1F5F7D#1F5F7D
#1F5F7D is a mid, moderate cyan. Relative luminance 0.100; OKLCH L 45.9% C 0.080 H 232.9°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #1F5F7D |
|---|---|
| RGB | rgb(31, 95, 125) |
| HSL | hsl(199, 60%, 31%) |
| HSV | hsv(199, 75%, 49%) |
| CMYK | cmyk(75.2%, 24%, 0%, 51%) |
| CIE-LAB | lab(37.76, -9.39, -22.64) |
| CIE-LCH | lch(37.76, 24.51, 247.46°) |
| OKLab | oklab(45.93% -0.0482 -0.0636) |
| OKLCH | oklch(45.93% 0.08 232.9) |
| XYZ | xyz(8.3575, 9.9554, 20.8792) |
| Luminance | 0.0996 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Ugly Blue
#31668A
ΔE00 4.22
Peacock Blue
#016795
ΔE00 4.80
Deep Sea Blue
#015482
ΔE00 6.06
Ocean Blue (survey)
#03719C
ΔE00 6.94
Denim (survey)
#3B638C
ΔE00 7.01
Light Navy Blue
#2E5A88
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F5F7D #7D3D1F
analogous
#1F7D6C #1F5F7D #1F307D
triadic
#1F5F7D #7D1F5F #5F7D1F
tetradic
#1F5F7D #6C1F7D #7D3D1F #307D1F
square
#1F5F7D #6C1F7D #7D3D1F #307D1F
split-complementary
#1F5F7D #7D1F30 #7D6C1F
monochromatic
#07141B #133A4C #1F5F7D #2B84AE #45A4D1
Accessibility & contrast
On white
7.02
#1F5F7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#1F5F7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F5F7D
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F5F7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F5F7D | 1.00 | 7.02 | 2.99 | 7.02 |
| #FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#505E7E
Deuteranopia (green-blind)
#43557D
Tritanopia (blue-blind)
#006769
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #1f5f7d; /* rgb */ color: rgb(31, 95, 125); /* oklch */ color: oklch(45.9% 0.080 232.9);
Tailwind
colors: {
custom: {
50: '#698ca2',
500: '#1f5f7d',
950: '#000000',
},
}SCSS
$custom: #1f5f7d; $custom-light: #698ca2; $custom-dark: #000000;
JSON
{
"hex": "#1f5f7d",
"rgb": {
"r": 31,
"g": 95,
"b": 125
},
"hsl": {
"h": 199.149,
"s": 60.256,
"l": 30.588
},
"oklch": {
"l": 0.45933,
"c": 0.07985,
"h": 232.9
},
"luminance": 0.09956
}Semantic roles & 50–950 ramp
primary
#1F5F7D
secondary
#B06948
accent
#7744E3
background
#F6F8FA
surface
#EBF0F3
border
#C6CBCD
text
#070C0F
muted
#7A7D7F