#1F7698#1F7698
#1F7698 is a mid, moderate cyan. Relative luminance 0.155; OKLCH L 53.2% C 0.095 H 229.4°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7698 |
|---|---|
| RGB | rgb(31, 118, 152) |
| HSL | hsl(197, 66%, 36%) |
| HSV | hsv(197, 80%, 60%) |
| CMYK | cmyk(79.6%, 22.4%, 0%, 40.4%) |
| CIE-LAB | lab(46.33, -12.99, -25.54) |
| CIE-LCH | lch(46.33, 28.65, 243.05°) |
| OKLab | oklab(53.17% -0.0616 -0.0718) |
| OKLCH | oklch(53.17% 0.095 229.4) |
| XYZ | xyz(12.7087, 15.5136, 32.0243) |
| Luminance | 0.1552 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Sea Blue
#047495
ΔE00 1.62
Cerulean
#007BA7
ΔE00 3.07
Ocean Blue (survey)
#03719C
ΔE00 3.18
Dirty Blue
#3F829D
ΔE00 5.35
Ocean
#017B92
ΔE00 5.46
Nice Blue
#107AB0
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7698 #98411F
analogous
#1F987D #1F7698 #1F3998
triadic
#1F7698 #981F76 #76981F
tetradic
#1F7698 #7D1F98 #98411F #39981F
square
#1F7698 #7D1F98 #98411F #39981F
split-complementary
#1F7698 #981F39 #987D1F
monochromatic
#0A2732 #154F65 #1F7698 #299DCB #55B6DC
Accessibility & contrast
On white
5.12
#1F7698 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#1F7698 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7698
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7698 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7698 | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#64749A
Deuteranopia (green-blind)
#546998
Tritanopia (blue-blind)
#007F81
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #1f7698; /* rgb */ color: rgb(31, 118, 152); /* oklch */ color: oklch(53.2% 0.095 229.4);
Tailwind
colors: {
custom: {
50: '#6f9db6',
500: '#1f7698',
950: '#000000',
},
}SCSS
$custom: #1f7698; $custom-light: #6f9db6; $custom-dark: #000000;
JSON
{
"hex": "#1f7698",
"rgb": {
"r": 31,
"g": 118,
"b": 152
},
"hsl": {
"h": 196.86,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.53173,
"c": 0.09462,
"h": 229.4
},
"luminance": 0.15515
}Semantic roles & 50–950 ramp
primary
#1F7698
secondary
#C07253
accent
#6F3FE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#080E11
muted
#7B7E80