#1F879D#1F879D

#1F879D is a mid, moderate cyan. Relative luminance 0.201; OKLCH L 57.7% C 0.095 H 216.0°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#1F879D
RGBrgb(31, 135, 157)
HSLhsl(190, 67%, 37%)
HSVhsv(190, 80%, 62%)
CMYKcmyk(80.3%, 14%, 0%, 38.4%)
CIE-LABlab(51.90, -20.59, -19.88)
CIE-LCHlch(51.90, 28.62, 224.00°)
OKLaboklab(57.71% -0.0765 -0.0555)
OKLCHoklch(57.71% 0.095 216)
XYZxyz(15.3122, 20.0517, 34.9551)
Luminance0.2005 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F879D #9D351F
analogous
#1F9D74 #1F879D #1F489D
triadic
#1F879D #9D1F87 #879D1F
tetradic
#1F879D #741F9D #9D351F #489D1F
square
#1F879D #741F9D #9D351F #489D1F
split-complementary
#1F879D #9D1F48 #9D741F
monochromatic
#0B2F37 #155B6A #1F879D #29B3D0 #58C7DE

Accessibility & contrast

On white

4.19
#1F879D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#1F879D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F879D
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F879D#FFFFFF#000000##000000
##1F879D1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#78839E
Deuteranopia (green-blind)
#67769D
Tritanopia (blue-blind)
#008F8E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1f879d;
/* rgb */ color: rgb(31, 135, 157);
/* oklch */ color: oklch(57.7% 0.095 216.0);
Tailwind
colors: {
  custom: {
    50: '#71aaba',
    500: '#1f879d',
    950: '#000000',
  },
}
SCSS
$custom: #1f879d;
$custom-light: #71aaba;
$custom-dark: #000000;
JSON
{
  "hex": "#1f879d",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 157
  },
  "hsl": {
    "h": 190.476,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.57709,
    "c": 0.09454,
    "h": 216
  },
  "luminance": 0.20054
}

Semantic roles & 50–950 ramp

primary
#1F879D
secondary
#C26956
accent
#5C3EEA
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#091011
muted
#7B7F80

Preview Lab

Preview with #1F879D

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

Preview Lab → · Contrast checker → · Palette generator →

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