#1F879E#1F879E

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

Color values

HEX#1F879E
RGBrgb(31, 135, 158)
HSLhsl(191, 67%, 37%)
HSVhsv(191, 80%, 62%)
CMYKcmyk(80.4%, 14.6%, 0%, 38%)
CIE-LABlab(51.93, -20.25, -20.40)
CIE-LCHlch(51.93, 28.75, 225.22°)
OKLaboklab(57.75% -0.0761 -0.057)
OKLCHoklch(57.75% 0.095 216.8)
XYZxyz(15.3980, 20.0860, 35.4066)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F879E #9E361F
analogous
#1F9E76 #1F879E #1F489E
triadic
#1F879E #9E1F87 #879E1F
tetradic
#1F879E #761F9E #9E361F #489E1F
square
#1F879E #761F9E #9E361F #489E1F
split-complementary
#1F879E #9E1F48 #9E761F
monochromatic
#0B3038 #155B6B #1F879E #29B3D1 #59C6DE

Accessibility & contrast

On white

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

On black

5.02
#1F879E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F879E
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F879E#FFFFFF#000000##000000
##1F879E1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f879e;
/* rgb */ color: rgb(31, 135, 158);
/* oklch */ color: oklch(57.8% 0.095 216.8);
Tailwind
colors: {
  custom: {
    50: '#71aaba',
    500: '#1f879e',
    950: '#000000',
  },
}
SCSS
$custom: #1f879e;
$custom-light: #71aaba;
$custom-dark: #000000;
JSON
{
  "hex": "#1f879e",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 158
  },
  "hsl": {
    "h": 190.866,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.57753,
    "c": 0.09509,
    "h": 216.8
  },
  "luminance": 0.20088
}

Semantic roles & 50–950 ramp

primary
#1F879E
secondary
#C26A56
accent
#5D3EEA
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#091011
muted
#7B7F80

Preview Lab

Preview with #1F879E

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

Preview Lab → · Contrast checker → · Palette generator →

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