#1F788F#1F788F

#1F788F is a mid, moderate cyan. Relative luminance 0.157; OKLCH L 53.3% C 0.087 H 219.5°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#1F788F
RGBrgb(31, 120, 143)
HSLhsl(192, 64%, 34%)
HSVhsv(192, 78%, 56%)
CMYKcmyk(78.3%, 16.1%, 0%, 43.9%)
CIE-LABlab(46.59, -17.29, -19.83)
CIE-LCHlch(46.59, 26.31, 228.91°)
OKLaboklab(53.25% -0.0672 -0.0554)
OKLCHoklch(53.25% 0.087 219.5)
XYZxyz(12.2374, 15.7059, 28.3679)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F788F #8F361F
analogous
#1F8F6E #1F788F #1F408F
triadic
#1F788F #8F1F78 #788F1F
tetradic
#1F788F #6E1F8F #8F361F #408F1F
square
#1F788F #6E1F8F #8F361F #408F1F
split-complementary
#1F788F #8F1F40 #8F6E1F
monochromatic
#09242A #144E5D #1F788F #2AA2C1 #4FBDD9

Accessibility & contrast

On white

5.07
#1F788F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#1F788F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F788F
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F788F#FFFFFF#000000##FFFFFF
##1F788F1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A7590
Deuteranopia (green-blind)
#5B6A8F
Tritanopia (blue-blind)
#00807F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1f788f;
/* rgb */ color: rgb(31, 120, 143);
/* oklch */ color: oklch(53.3% 0.087 219.5);
Tailwind
colors: {
  custom: {
    50: '#6e9faf',
    500: '#1f788f',
    950: '#000000',
  },
}
SCSS
$custom: #1f788f;
$custom-light: #6e9faf;
$custom-dark: #000000;
JSON
{
  "hex": "#1f788f",
  "rgb": {
    "r": 31,
    "g": 120,
    "b": 143
  },
  "hsl": {
    "h": 192.321,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.53254,
    "c": 0.08711,
    "h": 219.5
  },
  "luminance": 0.15707
}

Semantic roles & 50–950 ramp

primary
#1F788F
secondary
#BC644E
accent
#6340E7
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1F788F

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

Preview Lab → · Contrast checker → · Palette generator →

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