#1F879F#1F879F

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

Color values

HEX#1F879F
RGBrgb(31, 135, 159)
HSLhsl(191, 67%, 37%)
HSVhsv(191, 81%, 62%)
CMYKcmyk(80.5%, 15.1%, 0%, 37.6%)
CIE-LABlab(51.97, -19.91, -20.92)
CIE-LCHlch(51.97, 28.88, 226.42°)
OKLaboklab(57.8% -0.0757 -0.0585)
OKLCHoklch(57.8% 0.096 217.7)
XYZxyz(15.4844, 20.1205, 35.8617)
Luminance0.2012 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F879F #9F371F
analogous
#1F9F77 #1F879F #1F479F
triadic
#1F879F #9F1F87 #879F1F
tetradic
#1F879F #771F9F #9F371F #479F1F
square
#1F879F #771F9F #9F371F #479F1F
split-complementary
#1F879F #9F1F47 #9F771F
monochromatic
#0B3039 #155C6C #1F879F #29B2D2 #5AC6DF

Accessibility & contrast

On white

4.18
#1F879F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F879F#FFFFFF#000000##000000
##1F879F1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7783A0
Deuteranopia (green-blind)
#67779F
Tritanopia (blue-blind)
#008F8F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1f879f;
/* rgb */ color: rgb(31, 135, 159);
/* oklch */ color: oklch(57.8% 0.096 217.7);
Tailwind
colors: {
  custom: {
    50: '#72aabb',
    500: '#1f879f',
    950: '#000000',
  },
}
SCSS
$custom: #1f879f;
$custom-light: #72aabb;
$custom-dark: #000000;
JSON
{
  "hex": "#1f879f",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 159
  },
  "hsl": {
    "h": 191.25,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.57797,
    "c": 0.09566,
    "h": 217.7
  },
  "luminance": 0.20122
}

Semantic roles & 50–950 ramp

primary
#1F879F
secondary
#C36B57
accent
#5E3EEA
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#091011
muted
#7B7F80

Preview Lab

Preview with #1F879F

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

Preview Lab → · Contrast checker → · Palette generator →

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