#1F778D#1F778D

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

Color values

HEX#1F778D
RGBrgb(31, 119, 141)
HSLhsl(192, 64%, 34%)
HSVhsv(192, 78%, 55%)
CMYKcmyk(78%, 15.6%, 0%, 44.7%)
CIE-LABlab(46.19, -17.44, -19.26)
CIE-LCHlch(46.19, 25.98, 227.85°)
OKLaboklab(52.91% -0.067 -0.0538)
OKLCHoklch(52.91% 0.086 218.8)
XYZxyz(11.9676, 15.4066, 27.5372)
Luminance0.1541 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F778D #8D351F
analogous
#1F8D6C #1F778D #1F408D
triadic
#1F778D #8D1F77 #778D1F
tetradic
#1F778D #6C1F8D #8D351F #408D1F
square
#1F778D #6C1F8D #8D351F #408D1F
split-complementary
#1F778D #8D1F40 #8D6C1F
monochromatic
#092229 #144D5B #1F778D #2AA1BF #4EBDD8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F778D#FFFFFF#000000##FFFFFF
##1F778D1.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)
#69748E
Deuteranopia (green-blind)
#5A698D
Tritanopia (blue-blind)
#007E7E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1f778d;
/* rgb */ color: rgb(31, 119, 141);
/* oklch */ color: oklch(52.9% 0.086 218.8);
Tailwind
colors: {
  custom: {
    50: '#6d9eae',
    500: '#1f778d',
    950: '#000000',
  },
}
SCSS
$custom: #1f778d;
$custom-light: #6d9eae;
$custom-dark: #000000;
JSON
{
  "hex": "#1f778d",
  "rgb": {
    "r": 31,
    "g": 119,
    "b": 141
  },
  "hsl": {
    "h": 192,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.52905,
    "c": 0.08593,
    "h": 218.8
  },
  "luminance": 0.15408
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F778D

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

Preview Lab → · Contrast checker → · Palette generator →

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