#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
RGBrgb(31, 139, 171)
HSLhsl(194, 69%, 40%)
HSVhsv(194, 82%, 67%)
CMYKcmyk(81.9%, 18.7%, 0%, 32.9%)
CIE-LABlab(53.70, -17.92, -25.19)
CIE-LCHlch(53.70, 30.91, 234.56°)
OKLaboklab(59.35% -0.0748 -0.0706)
OKLCHoklch(59.35% 0.103 223.4)
XYZxyz(17.1453, 21.6947, 41.8040)
Luminance0.2170 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

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
##1F8BAB1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.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

Preview Lab

Preview with #1F8BAB

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#1F8BAB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva