#1F7799#1F7799
#1F7799 is a mid, moderate cyan. Relative luminance 0.158; OKLCH L 53.5% C 0.095 H 229.1°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7799 |
|---|---|
| RGB | rgb(31, 119, 153) |
| HSL | hsl(197, 66%, 36%) |
| HSV | hsv(197, 80%, 60%) |
| CMYK | cmyk(79.7%, 22.2%, 0%, 40%) |
| CIE-LAB | lab(46.69, -13.20, -25.57) |
| CIE-LCH | lch(46.69, 28.78, 242.71°) |
| OKLab | oklab(53.47% -0.0622 -0.0719) |
| OKLCH | oklch(53.47% 0.095 229.1) |
| XYZ | xyz(12.9093, 15.7833, 32.4969) |
| Luminance | 0.1578 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Sea Blue
#047495
ΔE00 1.79
Cerulean
#007BA7
ΔE00 2.90
Ocean Blue (survey)
#03719C
ΔE00 3.45
Dirty Blue
#3F829D
ΔE00 5.02
Ocean
#017B92
ΔE00 5.30
Nice Blue
#107AB0
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7799 #99411F
analogous
#1F997E #1F7799 #1F3A99
triadic
#1F7799 #991F77 #77991F
tetradic
#1F7799 #7E1F99 #99411F #3A991F
square
#1F7799 #7E1F99 #99411F #3A991F
split-complementary
#1F7799 #991F3A #997E1F
monochromatic
#0A2833 #154F66 #1F7799 #299FCC #56B7DD
Accessibility & contrast
On white
5.05
#1F7799 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#1F7799 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7799
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7799 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7799 | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#65759B
Deuteranopia (green-blind)
#556A99
Tritanopia (blue-blind)
#008082
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #1f7799; /* rgb */ color: rgb(31, 119, 153); /* oklch */ color: oklch(53.5% 0.095 229.1);
Tailwind
colors: {
custom: {
50: '#6f9eb7',
500: '#1f7799',
950: '#000000',
},
}SCSS
$custom: #1f7799; $custom-light: #6f9eb7; $custom-dark: #000000;
JSON
{
"hex": "#1f7799",
"rgb": {
"r": 31,
"g": 119,
"b": 153
},
"hsl": {
"h": 196.721,
"s": 66.304,
"l": 36.078
},
"oklch": {
"l": 0.53475,
"c": 0.09508,
"h": 229.1
},
"luminance": 0.15785
}Semantic roles & 50–950 ramp
primary
#1F7799
secondary
#C07254
accent
#6E3FE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80