#1F788E#1F788E

#1F788E is a mid, moderate cyan. Relative luminance 0.157; OKLCH L 53.2% C 0.086 H 218.6°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#1F788E
RGBrgb(31, 120, 142)
HSLhsl(192, 64%, 34%)
HSVhsv(192, 78%, 56%)
CMYKcmyk(78.2%, 15.5%, 0%, 44.3%)
CIE-LABlab(46.55, -17.64, -19.30)
CIE-LCHlch(46.55, 26.15, 227.57°)
OKLaboklab(53.21% -0.0676 -0.0539)
OKLCHoklch(53.21% 0.086 218.6)
XYZxyz(12.1620, 15.6758, 27.9707)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F788E #8E351F
analogous
#1F8E6D #1F788E #1F418E
triadic
#1F788E #8E1F78 #788E1F
tetradic
#1F788E #6D1F8E #8E351F #418E1F
square
#1F788E #6D1F8E #8E351F #418E1F
split-complementary
#1F788E #8E1F41 #8E6D1F
monochromatic
#09232A #144E5C #1F788E #2AA2C0 #4FBDD9

Accessibility & contrast

On white

5.08
#1F788E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F788E
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F788E#FFFFFF#000000##FFFFFF
##1F788E1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A748F
Deuteranopia (green-blind)
#5B6A8E
Tritanopia (blue-blind)
#007F7F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1f788e;
/* rgb */ color: rgb(31, 120, 142);
/* oklch */ color: oklch(53.2% 0.086 218.6);
Tailwind
colors: {
  custom: {
    50: '#6d9faf',
    500: '#1f788e',
    950: '#000000',
  },
}
SCSS
$custom: #1f788e;
$custom-light: #6d9faf;
$custom-dark: #000000;
JSON
{
  "hex": "#1f788e",
  "rgb": {
    "r": 31,
    "g": 120,
    "b": 142
  },
  "hsl": {
    "h": 191.892,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53208,
    "c": 0.08648,
    "h": 218.6
  },
  "luminance": 0.15677
}

Semantic roles & 50–950 ramp

primary
#1F788E
secondary
#BB634D
accent
#6241E7
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1F788E

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

Preview Lab → · Contrast checker → · Palette generator →

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