#1F778C#1F778C

#1F778C is a mid, moderate cyan. Relative luminance 0.154; OKLCH L 52.9% C 0.085 H 217.8°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#1F778C
RGBrgb(31, 119, 140)
HSLhsl(192, 64%, 34%)
HSVhsv(192, 78%, 55%)
CMYKcmyk(77.9%, 15%, 0%, 45.1%)
CIE-LABlab(46.15, -17.78, -18.73)
CIE-LCHlch(46.15, 25.83, 226.48°)
OKLaboklab(52.86% -0.0674 -0.0523)
OKLCHoklch(52.86% 0.085 217.8)
XYZxyz(11.8935, 15.3770, 27.1471)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F778C #8C341F
analogous
#1F8C6A #1F778C #1F408C
triadic
#1F778C #8C1F77 #778C1F
tetradic
#1F778C #6A1F8C #8C341F #408C1F
square
#1F778C #6A1F8C #8C341F #408C1F
split-complementary
#1F778C #8C1F40 #8C6A1F
monochromatic
#092228 #144C5A #1F778C #2AA2BE #4EBDD8

Accessibility & contrast

On white

5.15
#1F778C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#1F778C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F778C
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F778C#FFFFFF#000000##FFFFFF
##1F778C1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#69738D
Deuteranopia (green-blind)
#5B698C
Tritanopia (blue-blind)
#007E7E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1f778c;
/* rgb */ color: rgb(31, 119, 140);
/* oklch */ color: oklch(52.9% 0.085 217.8);
Tailwind
colors: {
  custom: {
    50: '#6d9ead',
    500: '#1f778c',
    950: '#000000',
  },
}
SCSS
$custom: #1f778c;
$custom-light: #6d9ead;
$custom-dark: #000000;
JSON
{
  "hex": "#1f778c",
  "rgb": {
    "r": 31,
    "g": 119,
    "b": 140
  },
  "hsl": {
    "h": 191.56,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5286,
    "c": 0.08532,
    "h": 217.8
  },
  "luminance": 0.15378
}

Semantic roles & 50–950 ramp

primary
#1F778C
secondary
#BB614C
accent
#6141E7
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1F778C

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

Preview Lab → · Contrast checker → · Palette generator →

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