#1F8BAB#1F8BAB
#1F8BAB is a mid, moderate cyan. Relative luminance 0.217; OKLCH L 59.3% C 0.103 H 223.4°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #1F8BAB |
|---|---|
| RGB | rgb(31, 139, 171) |
| HSL | hsl(194, 69%, 40%) |
| HSV | hsv(194, 82%, 67%) |
| CMYK | cmyk(81.9%, 18.7%, 0%, 32.9%) |
| CIE-LAB | lab(53.70, -17.92, -25.19) |
| CIE-LCH | lch(53.70, 30.91, 234.56°) |
| OKLab | oklab(59.35% -0.0748 -0.0706) |
| OKLCH | oklch(59.35% 0.103 223.4) |
| XYZ | xyz(17.1453, 21.6947, 41.8040) |
| Luminance | 0.2170 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 4.01
Teal Blue
#01889F
ΔE00 4.01
Ocean
#017B92
ΔE00 7.02
Cerulean
#007BA7
ΔE00 7.15
Sea Blue
#047495
ΔE00 8.68
Stormy Blue
#507B9C
ΔE00 9.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F8BAB #AB3F1F
analogous
#1FAB85 #1F8BAB #1F45AB
triadic
#1F8BAB #AB1F8B #8BAB1F
tetradic
#1F8BAB #851FAB #AB3F1F #45AB1F
square
#1F8BAB #851FAB #AB3F1F #45AB1F
split-complementary
#1F8BAB #AB1F45 #AB851F
monochromatic
#0C3743 #166177 #1F8BAB #2EB2D9 #62C5E3
Accessibility & contrast
On white
3.93
#1F8BAB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.34
#1F8BAB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F8BAB
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F8BAB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F8BAB | 1.00 | 3.93 | 5.34 | 5.34 |
| #FFFFFF | 3.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7988AD
Deuteranopia (green-blind)
#677BAB
Tritanopia (blue-blind)
#009595
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #1f8bab; /* rgb */ color: rgb(31, 139, 171); /* oklch */ color: oklch(59.3% 0.103 223.4);
Tailwind
colors: {
custom: {
50: '#74adc4',
500: '#1f8bab',
950: '#000000',
},
}SCSS
$custom: #1f8bab; $custom-light: #74adc4; $custom-dark: #000000;
JSON
{
"hex": "#1f8bab",
"rgb": {
"r": 31,
"g": 139,
"b": 171
},
"hsl": {
"h": 193.714,
"s": 69.307,
"l": 39.608
},
"oklch": {
"l": 0.59345,
"c": 0.10288,
"h": 223.4
},
"luminance": 0.21697
}Semantic roles & 50–950 ramp
primary
#1F8BAB
secondary
#C7765E
accent
#643CEC
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81