#1F778E#1F778E

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

Color values

HEX#1F778E
RGBrgb(31, 119, 142)
HSLhsl(192, 64%, 34%)
HSVhsv(192, 78%, 56%)
CMYKcmyk(78.2%, 16.2%, 0%, 44.3%)
CIE-LABlab(46.23, -17.09, -19.79)
CIE-LCHlch(46.23, 26.15, 229.19°)
OKLaboklab(52.95% -0.0666 -0.0553)
OKLCHoklch(52.95% 0.087 219.7)
XYZxyz(12.0423, 15.4365, 27.9308)
Luminance0.1544 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F778E #8E361F
analogous
#1F8E6E #1F778E #1F408E
triadic
#1F778E #8E1F77 #778E1F
tetradic
#1F778E #6E1F8E #8E361F #408E1F
square
#1F778E #6E1F8E #8E361F #408E1F
split-complementary
#1F778E #8E1F40 #8E6E1F
monochromatic
#09232A #144D5C #1F778E #2AA1C0 #4FBCD9

Accessibility & contrast

On white

5.14
#1F778E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F778E
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F778E#FFFFFF#000000##FFFFFF
##1F778E1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#69748F
Deuteranopia (green-blind)
#5A698E
Tritanopia (blue-blind)
#007F7E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1f778e;
/* rgb */ color: rgb(31, 119, 142);
/* oklch */ color: oklch(53.0% 0.087 219.7);
Tailwind
colors: {
  custom: {
    50: '#6d9eaf',
    500: '#1f778e',
    950: '#000000',
  },
}
SCSS
$custom: #1f778e;
$custom-light: #6d9eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#1f778e",
  "rgb": {
    "r": 31,
    "g": 119,
    "b": 142
  },
  "hsl": {
    "h": 192.432,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.52951,
    "c": 0.08657,
    "h": 219.7
  },
  "luminance": 0.15438
}

Semantic roles & 50–950 ramp

primary
#1F778E
secondary
#BB644D
accent
#6341E7
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1F778E

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

Preview Lab → · Contrast checker → · Palette generator →

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