#1F8DA7#1F8DA7

#1F8DA7 is a mid, moderate cyan. Relative luminance 0.221; OKLCH L 59.7% C 0.100 H 218.4°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#1F8DA7
RGBrgb(31, 141, 167)
HSLhsl(191, 69%, 39%)
HSVhsv(191, 81%, 65%)
CMYKcmyk(81.4%, 15.6%, 0%, 34.5%)
CIE-LABlab(54.16, -20.37, -22.18)
CIE-LCHlch(54.16, 30.12, 227.43°)
OKLaboklab(59.66% -0.0783 -0.062)
OKLCHoklch(59.66% 0.1 218.4)
XYZxyz(17.0620, 22.1289, 39.9238)
Luminance0.2213 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8DA7 #A7391F
analogous
#1FA77D #1F8DA7 #1F49A7
triadic
#1F8DA7 #A71F8D #8DA71F
tetradic
#1F8DA7 #7D1FA7 #A7391F #49A71F
square
#1F8DA7 #7D1FA7 #A7391F #49A71F
split-complementary
#1F8DA7 #A71F49 #A77D1F
monochromatic
#0C3640 #156173 #1F8DA7 #2BB7D8 #5FC8E1

Accessibility & contrast

On white

3.87
#1F8DA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#1F8DA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8DA7
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8DA7#FFFFFF#000000##000000
##1F8DA71.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C89A8
Deuteranopia (green-blind)
#6B7CA7
Tritanopia (blue-blind)
#009695
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #1f8da7;
/* rgb */ color: rgb(31, 141, 167);
/* oklch */ color: oklch(59.7% 0.100 218.4);
Tailwind
colors: {
  custom: {
    50: '#73aec1',
    500: '#1f8da7',
    950: '#000000',
  },
}
SCSS
$custom: #1f8da7;
$custom-light: #73aec1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8da7",
  "rgb": {
    "r": 31,
    "g": 141,
    "b": 167
  },
  "hsl": {
    "h": 191.471,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.59663,
    "c": 0.09991,
    "h": 218.4
  },
  "luminance": 0.22131
}

Semantic roles & 50–950 ramp

primary
#1F8DA7
secondary
#C6705C
accent
#5E3CEC
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #1F8DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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