#1F778A#1F778A

#1F778A is a mid, moderate cyan. Relative luminance 0.153; OKLCH L 52.8% C 0.084 H 215.8°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#1F778A
RGBrgb(31, 119, 138)
HSLhsl(191, 63%, 33%)
HSVhsv(191, 78%, 54%)
CMYKcmyk(77.5%, 13.8%, 0%, 45.9%)
CIE-LABlab(46.07, -18.47, -17.66)
CIE-LCHlch(46.07, 25.56, 223.72°)
OKLaboklab(52.77% -0.0682 -0.0493)
OKLCHoklch(52.77% 0.084 215.8)
XYZxyz(11.7474, 15.3185, 26.3775)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F778A #8A321F
analogous
#1F8A67 #1F778A #1F418A
triadic
#1F778A #8A1F77 #778A1F
tetradic
#1F778A #671F8A #8A321F #418A1F
square
#1F778A #671F8A #8A321F #418A1F
split-complementary
#1F778A #8A1F41 #8A671F
monochromatic
#092126 #144C58 #1F778A #2AA2BC #4CBED7

Accessibility & contrast

On white

5.17
#1F778A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#1F778A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F778A
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F778A#FFFFFF#000000##FFFFFF
##1F778A1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A738B
Deuteranopia (green-blind)
#5C698A
Tritanopia (blue-blind)
#007E7D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1f778a;
/* rgb */ color: rgb(31, 119, 138);
/* oklch */ color: oklch(52.8% 0.084 215.8);
Tailwind
colors: {
  custom: {
    50: '#6d9eac',
    500: '#1f778a',
    950: '#000000',
  },
}
SCSS
$custom: #1f778a;
$custom-light: #6d9eac;
$custom-dark: #000000;
JSON
{
  "hex": "#1f778a",
  "rgb": {
    "r": 31,
    "g": 119,
    "b": 138
  },
  "hsl": {
    "h": 190.654,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52771,
    "c": 0.08419,
    "h": 215.8
  },
  "luminance": 0.1532
}

Semantic roles & 50–950 ramp

primary
#1F778A
secondary
#BA5F4B
accent
#5F41E6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1F778A

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

Preview Lab → · Contrast checker → · Palette generator →

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