#1F8EA7#1F8EA7
#1F8EA7 is a mid, moderate cyan. Relative luminance 0.224; OKLCH L 59.9% C 0.100 H 217.4°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #1F8EA7 |
|---|---|
| RGB | rgb(31, 142, 167) |
| HSL | hsl(191, 69%, 39%) |
| HSV | hsv(191, 81%, 65%) |
| CMYK | cmyk(81.4%, 15%, 0%, 34.5%) |
| CIE-LAB | lab(54.48, -20.90, -21.70) |
| CIE-LCH | lch(54.48, 30.13, 226.07°) |
| OKLab | oklab(59.91% -0.0793 -0.0607) |
| OKLCH | oklch(59.91% 0.1 217.4) |
| XYZ | xyz(17.2101, 22.4252, 39.9732) |
| Luminance | 0.2243 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Teal Blue
#01889F
ΔE00 2.62
Dirty Blue
#3F829D
ΔE00 5.63
Ocean
#017B92
ΔE00 7.19
Cerulean
#007BA7
ΔE00 9.58
Dark Cyan
#0A888A
ΔE00 9.73
Sea Blue
#047495
ΔE00 10.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F8EA7 #A7381F
analogous
#1FA77C #1F8EA7 #1F4AA7
triadic
#1F8EA7 #A71F8E #8EA71F
tetradic
#1F8EA7 #7C1FA7 #A7381F #4AA71F
square
#1F8EA7 #7C1FA7 #A7381F #4AA71F
split-complementary
#1F8EA7 #A71F4A #A77C1F
monochromatic
#0C3640 #156273 #1F8EA7 #2BB8D8 #5FC9E1
Accessibility & contrast
On white
3.83
#1F8EA7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.49
#1F8EA7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F8EA7
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F8EA7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F8EA7 | 1.00 | 3.83 | 5.49 | 5.49 |
| #FFFFFF | 3.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E8AA8
Deuteranopia (green-blind)
#6C7DA7
Tritanopia (blue-blind)
#009796
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #1f8ea7; /* rgb */ color: rgb(31, 142, 167); /* oklch */ color: oklch(59.9% 0.100 217.4);
Tailwind
colors: {
custom: {
50: '#73afc1',
500: '#1f8ea7',
950: '#000000',
},
}SCSS
$custom: #1f8ea7; $custom-light: #73afc1; $custom-dark: #000000;
JSON
{
"hex": "#1f8ea7",
"rgb": {
"r": 31,
"g": 142,
"b": 167
},
"hsl": {
"h": 191.029,
"s": 68.687,
"l": 38.824
},
"oklch": {
"l": 0.59914,
"c": 0.09984,
"h": 217.4
},
"luminance": 0.22427
}Semantic roles & 50–950 ramp
primary
#1F8EA7
secondary
#C66F5C
accent
#5C3CEC
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81