#1F7E9A#1F7E9A
#1F7E9A is a mid, moderate cyan. Relative luminance 0.175; OKLCH L 55.3% C 0.094 H 222.7°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7E9A |
|---|---|
| RGB | rgb(31, 126, 154) |
| HSL | hsl(194, 66%, 36%) |
| HSV | hsv(194, 80%, 60%) |
| CMYK | cmyk(79.9%, 18.2%, 0%, 39.6%) |
| CIE-LAB | lab(48.94, -16.76, -22.68) |
| CIE-LCH | lch(48.94, 28.20, 233.54°) |
| OKLab | oklab(55.29% -0.0688 -0.0636) |
| OKLCH | oklch(55.29% 0.094 222.7) |
| XYZ | xyz(13.8562, 17.5444, 33.2217) |
| Luminance | 0.1755 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Ocean
#017B92
ΔE00 2.94
Dirty Blue
#3F829D
ΔE00 3.24
Sea Blue
#047495
ΔE00 4.14
Teal Blue
#01889F
ΔE00 4.62
Cerulean
#007BA7
ΔE00 5.11
Ocean Blue (survey)
#03719C
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7E9A #9A3B1F
analogous
#1F9A79 #1F7E9A #1F419A
triadic
#1F7E9A #9A1F7E #7E9A1F
tetradic
#1F7E9A #791F9A #9A3B1F #419A1F
square
#1F7E9A #791F9A #9A3B1F #419A1F
split-complementary
#1F7E9A #9A1F41 #9A791F
monochromatic
#0A2B34 #155467 #1F7E9A #29A8CD #56BEDD
Accessibility & contrast
On white
4.66
#1F7E9A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#1F7E9A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7E9A
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7E9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7E9A | 1.00 | 4.66 | 4.51 | 4.66 |
| #FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E7B9B
Deuteranopia (green-blind)
#5E6F9A
Tritanopia (blue-blind)
#008787
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #1f7e9a; /* rgb */ color: rgb(31, 126, 154); /* oklch */ color: oklch(55.3% 0.094 222.7);
Tailwind
colors: {
custom: {
50: '#70a3b7',
500: '#1f7e9a',
950: '#000000',
},
}SCSS
$custom: #1f7e9a; $custom-light: #70a3b7; $custom-dark: #000000;
JSON
{
"hex": "#1f7e9a",
"rgb": {
"r": 31,
"g": 126,
"b": 154
},
"hsl": {
"h": 193.659,
"s": 66.486,
"l": 36.275
},
"oklch": {
"l": 0.55291,
"c": 0.09364,
"h": 222.7
},
"luminance": 0.17546
}Semantic roles & 50–950 ramp
primary
#1F7E9A
secondary
#C16D54
accent
#653EE9
background
#F7FAFB
surface
#EDF3F6
border
#C8CDD0
text
#090F11
muted
#7B7F80