#1F778F#1F778F

#1F778F is a mid, moderate cyan. Relative luminance 0.155; OKLCH L 53.0% C 0.087 H 220.7°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#1F778F
RGBrgb(31, 119, 143)
HSLhsl(193, 64%, 34%)
HSVhsv(193, 78%, 56%)
CMYKcmyk(78.3%, 16.8%, 0%, 43.9%)
CIE-LABlab(46.27, -16.74, -20.32)
CIE-LCHlch(46.27, 26.33, 230.52°)
OKLaboklab(53% -0.0661 -0.0569)
OKLCHoklch(53% 0.087 220.7)
XYZxyz(12.1177, 15.4667, 28.3280)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F778F #8F371F
analogous
#1F8F6F #1F778F #1F3F8F
triadic
#1F778F #8F1F77 #778F1F
tetradic
#1F778F #6F1F8F #8F371F #3F8F1F
square
#1F778F #6F1F8F #8F371F #3F8F1F
split-complementary
#1F778F #8F1F3F #8F6F1F
monochromatic
#09232A #144D5D #1F778F #2AA1C1 #4FBBD9

Accessibility & contrast

On white

5.13
#1F778F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#1F778F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F778F
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F778F#FFFFFF#000000##FFFFFF
##1F778F1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f778f;
/* rgb */ color: rgb(31, 119, 143);
/* oklch */ color: oklch(53.0% 0.087 220.7);
Tailwind
colors: {
  custom: {
    50: '#6d9eaf',
    500: '#1f778f',
    950: '#000000',
  },
}
SCSS
$custom: #1f778f;
$custom-light: #6d9eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#1f778f",
  "rgb": {
    "r": 31,
    "g": 119,
    "b": 143
  },
  "hsl": {
    "h": 192.857,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.52997,
    "c": 0.08723,
    "h": 220.7
  },
  "luminance": 0.15468
}

Semantic roles & 50–950 ramp

primary
#1F778F
secondary
#BC654E
accent
#6440E7
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1F778F

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

Preview Lab → · Contrast checker → · Palette generator →

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