#1F779A#1F779A

#1F779A is a mid, moderate cyan. Relative luminance 0.158; OKLCH L 53.5% C 0.096 H 229.9°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#1F779A
RGBrgb(31, 119, 154)
HSLhsl(197, 66%, 36%)
HSVhsv(197, 80%, 60%)
CMYKcmyk(79.9%, 22.7%, 0%, 39.6%)
CIE-LABlab(46.73, -12.84, -26.09)
CIE-LCHlch(46.73, 29.08, 243.81°)
OKLaboklab(53.52% -0.0618 -0.0734)
OKLCHoklch(53.52% 0.096 229.9)
XYZxyz(12.9923, 15.8165, 32.9337)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F779A #9A421F
analogous
#1F9A80 #1F779A #1F3A9A
triadic
#1F779A #9A1F77 #779A1F
tetradic
#1F779A #801F9A #9A421F #3A9A1F
square
#1F779A #801F9A #9A421F #3A9A1F
split-complementary
#1F779A #9A1F3A #9A801F
monochromatic
#0A2834 #155067 #1F779A #299ECD #56B7DD

Accessibility & contrast

On white

5.04
#1F779A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#1F779A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F779A
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F779A#FFFFFF#000000##FFFFFF
##1F779A1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65759C
Deuteranopia (green-blind)
#556A9A
Tritanopia (blue-blind)
#008183
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1f779a;
/* rgb */ color: rgb(31, 119, 154);
/* oklch */ color: oklch(53.5% 0.096 229.9);
Tailwind
colors: {
  custom: {
    50: '#6f9eb8',
    500: '#1f779a',
    950: '#000000',
  },
}
SCSS
$custom: #1f779a;
$custom-light: #6f9eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#1f779a",
  "rgb": {
    "r": 31,
    "g": 119,
    "b": 154
  },
  "hsl": {
    "h": 197.073,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.53524,
    "c": 0.09597,
    "h": 229.9
  },
  "luminance": 0.15818
}

Semantic roles & 50–950 ramp

primary
#1F779A
secondary
#C17354
accent
#6F3EE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #1F779A

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

Preview Lab → · Contrast checker → · Palette generator →

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