#1F7997#1F7997
#1F7997 is a mid, moderate cyan. Relative luminance 0.162; OKLCH L 53.9% C 0.093 H 225.5°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7997 |
|---|---|
| RGB | rgb(31, 121, 151) |
| HSL | hsl(195, 66%, 36%) |
| HSV | hsv(195, 79%, 59%) |
| CMYK | cmyk(79.5%, 19.9%, 0%, 40.8%) |
| CIE-LAB | lab(47.23, -15.04, -23.55) |
| CIE-LCH | lch(47.23, 27.94, 237.44°) |
| OKLab | oklab(53.88% -0.065 -0.0661) |
| OKLCH | oklch(53.88% 0.093 225.5) |
| XYZ | xyz(12.9860, 16.1988, 31.7144) |
| Luminance | 0.1620 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Sea Blue
#047495
ΔE00 2.18
Ocean
#017B92
ΔE00 3.67
Cerulean
#007BA7
ΔE00 4.09
Dirty Blue
#3F829D
ΔE00 4.29
Ocean Blue (survey)
#03719C
ΔE00 5.11
Teal Blue
#01889F
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7997 #973D1F
analogous
#1F9779 #1F7997 #1F3D97
triadic
#1F7997 #971F79 #79971F
tetradic
#1F7997 #791F97 #973D1F #3D971F
square
#1F7997 #791F97 #973D1F #3D971F
split-complementary
#1F7997 #971F3D #97791F
monochromatic
#0A2831 #155064 #1F7997 #29A2CA #54BADC
Accessibility & contrast
On white
4.95
#1F7997 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#1F7997 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7997
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7997 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7997 | 1.00 | 4.95 | 4.24 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#697699
Deuteranopia (green-blind)
#596B97
Tritanopia (blue-blind)
#008283
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #1f7997; /* rgb */ color: rgb(31, 121, 151); /* oklch */ color: oklch(53.9% 0.093 225.5);
Tailwind
colors: {
custom: {
50: '#6f9fb5',
500: '#1f7997',
950: '#000000',
},
}SCSS
$custom: #1f7997; $custom-light: #6f9fb5; $custom-dark: #000000;
JSON
{
"hex": "#1f7997",
"rgb": {
"r": 31,
"g": 121,
"b": 151
},
"hsl": {
"h": 195,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.53883,
"c": 0.09267,
"h": 225.5
},
"luminance": 0.162
}Semantic roles & 50–950 ramp
primary
#1F7997
secondary
#BF6E52
accent
#693FE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#080E11
muted
#7B7E80