#1F779C#1F779C

#1F779C is a mid, moderate cyan. Relative luminance 0.159; OKLCH L 53.6% C 0.098 H 231.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#1F779C
RGBrgb(31, 119, 156)
HSLhsl(198, 67%, 37%)
HSVhsv(198, 80%, 61%)
CMYKcmyk(80.1%, 23.7%, 0%, 38.8%)
CIE-LABlab(46.82, -12.11, -27.13)
CIE-LCHlch(46.82, 29.71, 245.94°)
OKLaboklab(53.62% -0.0611 -0.0764)
OKLCHoklch(53.62% 0.098 231.4)
XYZxyz(13.1602, 15.8836, 33.8183)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F779C #9C441F
analogous
#1F9C83 #1F779C #1F399C
triadic
#1F779C #9C1F77 #779C1F
tetradic
#1F779C #831F9C #9C441F #399C1F
square
#1F779C #831F9C #9C441F #399C1F
split-complementary
#1F779C #9C1F39 #9C831F
monochromatic
#0B2936 #155069 #1F779C #299ECF #58B6DE

Accessibility & contrast

On white

5.03
#1F779C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#1F779C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F779C
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F779C#FFFFFF#000000##FFFFFF
##1F779C1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64769E
Deuteranopia (green-blind)
#546A9B
Tritanopia (blue-blind)
#008183
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1f779c;
/* rgb */ color: rgb(31, 119, 156);
/* oklch */ color: oklch(53.6% 0.098 231.4);
Tailwind
colors: {
  custom: {
    50: '#709eb9',
    500: '#1f779c',
    950: '#000000',
  },
}
SCSS
$custom: #1f779c;
$custom-light: #709eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f779c",
  "rgb": {
    "r": 31,
    "g": 119,
    "b": 156
  },
  "hsl": {
    "h": 197.76,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.53624,
    "c": 0.09781,
    "h": 231.4
  },
  "luminance": 0.15885
}

Semantic roles & 50–950 ramp

primary
#1F779C
secondary
#C17555
accent
#713EEA
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #1F779C

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

Preview Lab → · Contrast checker → · Palette generator →

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