#1F87A1#1F87A1
#1F87A1 is a mid, moderate cyan. Relative luminance 0.202; OKLCH L 57.9% C 0.097 H 219.4°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #1F87A1 |
|---|---|
| RGB | rgb(31, 135, 161) |
| HSL | hsl(192, 68%, 38%) |
| HSV | hsv(192, 81%, 63%) |
| CMYK | cmyk(80.7%, 16.1%, 0%, 36.9%) |
| CIE-LAB | lab(52.05, -19.22, -21.96) |
| CIE-LCH | lch(52.05, 29.19, 228.80°) |
| OKLab | oklab(57.89% -0.0749 -0.0615) |
| OKLCH | oklch(57.89% 0.097 219.4) |
| XYZ | xyz(15.6593, 20.1905, 36.7831) |
| Luminance | 0.2019 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Teal Blue
#01889F
ΔE00 1.93
Dirty Blue
#3F829D
ΔE00 3.79
Ocean
#017B92
ΔE00 4.85
Cerulean
#007BA7
ΔE00 7.49
Sea Blue
#047495
ΔE00 7.61
Stormy Blue
#507B9C
ΔE00 9.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F87A1 #A1391F
analogous
#1FA17A #1F87A1 #1F46A1
triadic
#1F87A1 #A11F87 #87A11F
tetradic
#1F87A1 #7A1FA1 #A1391F #46A11F
square
#1F87A1 #7A1FA1 #A1391F #46A11F
split-complementary
#1F87A1 #A11F46 #A17A1F
monochromatic
#0B313A #155C6E #1F87A1 #29B2D4 #5BC5DF
Accessibility & contrast
On white
4.17
#1F87A1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#1F87A1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F87A1
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F87A1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F87A1 | 1.00 | 4.17 | 5.04 | 5.04 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7783A2
Deuteranopia (green-blind)
#6677A1
Tritanopia (blue-blind)
#00908F
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #1f87a1; /* rgb */ color: rgb(31, 135, 161); /* oklch */ color: oklch(57.9% 0.097 219.4);
Tailwind
colors: {
custom: {
50: '#72aabd',
500: '#1f87a1',
950: '#000000',
},
}SCSS
$custom: #1f87a1; $custom-light: #72aabd; $custom-dark: #000000;
JSON
{
"hex": "#1f87a1",
"rgb": {
"r": 31,
"g": 135,
"b": 161
},
"hsl": {
"h": 192,
"s": 67.708,
"l": 37.647
},
"oklch": {
"l": 0.57886,
"c": 0.09687,
"h": 219.4
},
"luminance": 0.20192
}Semantic roles & 50–950 ramp
primary
#1F87A1
secondary
#C46E58
accent
#603DEB
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#091012
muted
#7B7F81