#1F879C#1F879C

#1F879C is a mid, moderate cyan. Relative luminance 0.200; OKLCH L 57.7% C 0.094 H 215.1°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#1F879C
RGBrgb(31, 135, 156)
HSLhsl(190, 67%, 37%)
HSVhsv(190, 80%, 61%)
CMYKcmyk(80.1%, 13.5%, 0%, 38.8%)
CIE-LABlab(51.86, -20.93, -19.36)
CIE-LCHlch(51.86, 28.51, 222.77°)
OKLaboklab(57.67% -0.0769 -0.0541)
OKLCHoklch(57.67% 0.094 215.1)
XYZxyz(15.2272, 20.0177, 34.5073)
Luminance0.2002 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F879C #9C341F
analogous
#1F9C73 #1F879C #1F499C
triadic
#1F879C #9C1F87 #879C1F
tetradic
#1F879C #731F9C #9C341F #499C1F
square
#1F879C #731F9C #9C341F #499C1F
split-complementary
#1F879C #9C1F49 #9C731F
monochromatic
#0B2F36 #155B69 #1F879C #29B3CF #58C7DE

Accessibility & contrast

On white

4.20
#1F879C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#1F879C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F879C
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F879C#FFFFFF#000000##000000
##1F879C1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#78829D
Deuteranopia (green-blind)
#68769C
Tritanopia (blue-blind)
#008F8E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1f879c;
/* rgb */ color: rgb(31, 135, 156);
/* oklch */ color: oklch(57.7% 0.094 215.1);
Tailwind
colors: {
  custom: {
    50: '#71aab9',
    500: '#1f879c',
    950: '#000000',
  },
}
SCSS
$custom: #1f879c;
$custom-light: #71aab9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f879c",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 156
  },
  "hsl": {
    "h": 190.08,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.57665,
    "c": 0.09403,
    "h": 215.1
  },
  "luminance": 0.2002
}

Semantic roles & 50–950 ramp

primary
#1F879C
secondary
#C16755
accent
#5B3EEA
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#091011
muted
#7B7F80

Preview Lab

Preview with #1F879C

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

Preview Lab → · Contrast checker → · Palette generator →

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