#1F778B#1F778B

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

Color values

HEX#1F778B
RGBrgb(31, 119, 139)
HSLhsl(191, 64%, 33%)
HSVhsv(191, 78%, 55%)
CMYKcmyk(77.7%, 14.4%, 0%, 45.5%)
CIE-LABlab(46.11, -18.13, -18.20)
CIE-LCHlch(46.11, 25.69, 225.11°)
OKLaboklab(52.82% -0.0678 -0.0508)
OKLCHoklch(52.82% 0.085 216.8)
XYZxyz(11.8201, 15.3476, 26.7605)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F778B #8B331F
analogous
#1F8B69 #1F778B #1F418B
triadic
#1F778B #8B1F77 #778B1F
tetradic
#1F778B #691F8B #8B331F #418B1F
square
#1F778B #691F8B #8B331F #418B1F
split-complementary
#1F778B #8B1F41 #8B691F
monochromatic
#092127 #144C59 #1F778B #2AA2BD #4DBED7

Accessibility & contrast

On white

5.16
#1F778B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#1F778B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F778B
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F778B#FFFFFF#000000##FFFFFF
##1F778B1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f778b;
/* rgb */ color: rgb(31, 119, 139);
/* oklch */ color: oklch(52.8% 0.085 216.8);
Tailwind
colors: {
  custom: {
    50: '#6d9ead',
    500: '#1f778b',
    950: '#000000',
  },
}
SCSS
$custom: #1f778b;
$custom-light: #6d9ead;
$custom-dark: #000000;
JSON
{
  "hex": "#1f778b",
  "rgb": {
    "r": 31,
    "g": 119,
    "b": 139
  },
  "hsl": {
    "h": 191.111,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.52815,
    "c": 0.08474,
    "h": 216.8
  },
  "luminance": 0.15349
}

Semantic roles & 50–950 ramp

primary
#1F778B
secondary
#BA604C
accent
#6041E7
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1F778B

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

Preview Lab → · Contrast checker → · Palette generator →

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