#1F8DA8#1F8DA8

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

Color values

HEX#1F8DA8
RGBrgb(31, 141, 168)
HSLhsl(192, 69%, 39%)
HSVhsv(192, 82%, 66%)
CMYKcmyk(81.5%, 16.1%, 0%, 34.1%)
CIE-LABlab(54.20, -20.03, -22.69)
CIE-LCHlch(54.20, 30.27, 228.56°)
OKLaboklab(59.71% -0.0779 -0.0635)
OKLCHoklch(59.71% 0.101 219.2)
XYZxyz(17.1548, 22.1661, 40.4125)
Luminance0.2217 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8DA8 #A83A1F
analogous
#1FA87F #1F8DA8 #1F49A8
triadic
#1F8DA8 #A81F8D #8DA81F
tetradic
#1F8DA8 #7F1FA8 #A83A1F #49A81F
square
#1F8DA8 #7F1FA8 #A83A1F #49A81F
split-complementary
#1F8DA8 #A81F49 #A87F1F
monochromatic
#0C3641 #156274 #1F8DA8 #2CB6D8 #60C8E2

Accessibility & contrast

On white

3.86
#1F8DA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8DA8#FFFFFF#000000##000000
##1F8DA81.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C89A9
Deuteranopia (green-blind)
#6A7CA8
Tritanopia (blue-blind)
#009696
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #1f8da8;
/* rgb */ color: rgb(31, 141, 168);
/* oklch */ color: oklch(59.7% 0.101 219.2);
Tailwind
colors: {
  custom: {
    50: '#73aec2',
    500: '#1f8da8',
    950: '#000000',
  },
}
SCSS
$custom: #1f8da8;
$custom-light: #73aec2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8da8",
  "rgb": {
    "r": 31,
    "g": 141,
    "b": 168
  },
  "hsl": {
    "h": 191.825,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.59708,
    "c": 0.10052,
    "h": 219.2
  },
  "luminance": 0.22168
}

Semantic roles & 50–950 ramp

primary
#1F8DA8
secondary
#C6715D
accent
#5F3CEC
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #1F8DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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