#1F7C8F#1F7C8F

#1F7C8F is a mid, moderate cyan. Relative luminance 0.167; OKLCH L 54.3% C 0.087 H 215.0°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#1F7C8F
RGBrgb(31, 124, 143)
HSLhsl(190, 64%, 34%)
HSVhsv(190, 78%, 56%)
CMYKcmyk(78.3%, 13.3%, 0%, 43.9%)
CIE-LABlab(47.86, -19.47, -17.87)
CIE-LCHlch(47.86, 26.43, 222.55°)
OKLaboklab(54.28% -0.0713 -0.0499)
OKLCHoklch(54.28% 0.087 215)
XYZxyz(12.7285, 16.6882, 28.5316)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7C8F #8F321F
analogous
#1F8F6A #1F7C8F #1F448F
triadic
#1F7C8F #8F1F7C #7C8F1F
tetradic
#1F7C8F #6A1F8F #8F321F #448F1F
square
#1F7C8F #6A1F8F #8F321F #448F1F
split-complementary
#1F7C8F #8F1F44 #8F6A1F
monochromatic
#09252A #14505D #1F7C8F #2AA8C1 #4FC2D9

Accessibility & contrast

On white

4.84
#1F7C8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#1F7C8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7C8F
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7C8F#FFFFFF#000000##FFFFFF
##1F7C8F1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F7890
Deuteranopia (green-blind)
#606D8F
Tritanopia (blue-blind)
#008382
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f7c8f;
/* rgb */ color: rgb(31, 124, 143);
/* oklch */ color: oklch(54.3% 0.087 215.0);
Tailwind
colors: {
  custom: {
    50: '#6ea2af',
    500: '#1f7c8f',
    950: '#000000',
  },
}
SCSS
$custom: #1f7c8f;
$custom-light: #6ea2af;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7c8f",
  "rgb": {
    "r": 31,
    "g": 124,
    "b": 143
  },
  "hsl": {
    "h": 190.179,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54282,
    "c": 0.08699,
    "h": 215
  },
  "luminance": 0.1669
}

Semantic roles & 50–950 ramp

primary
#1F7C8F
secondary
#BC614E
accent
#5D40E7
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #1F7C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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