#1F7774#1F7774

#1F7774 is a mid, moderate teal. Relative luminance 0.147; OKLCH L 51.9% C 0.080 H 191.6°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#1F7774
RGBrgb(31, 119, 116)
HSLhsl(178, 59%, 29%)
HSVhsv(178, 74%, 47%)
CMYKcmyk(73.9%, 0%, 2.5%, 53.3%)
CIE-LABlab(45.28, -25.67, -5.75)
CIE-LCHlch(45.28, 26.31, 192.63°)
OKLaboklab(51.88% -0.0783 -0.016)
OKLCHoklch(51.88% 0.08 191.6)
XYZxyz(10.3128, 14.7447, 18.8221)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7774 #771F22
analogous
#1F7748 #1F7774 #1F4E77
triadic
#1F7774 #741F77 #77741F
tetradic
#1F7774 #481F77 #771F22 #4E771F
square
#1F7774 #481F77 #771F22 #4E771F
split-complementary
#1F7774 #771F4E #77481F
monochromatic
#061818 #124645 #1F7774 #2CA8A3 #43CEC9

Accessibility & contrast

On white

5.32
#1F7774 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#1F7774 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7774
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7774#FFFFFF#000000##FFFFFF
##1F77741.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F7174
Deuteranopia (green-blind)
#636775
Tritanopia (blue-blind)
#007B76
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1f7774;
/* rgb */ color: rgb(31, 119, 116);
/* oklch */ color: oklch(51.9% 0.080 191.6);
Tailwind
colors: {
  custom: {
    50: '#6a9e9c',
    500: '#1f7774',
    950: '#000000',
  },
}
SCSS
$custom: #1f7774;
$custom-light: #6a9e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7774",
  "rgb": {
    "r": 31,
    "g": 119,
    "b": 116
  },
  "hsl": {
    "h": 177.955,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51876,
    "c": 0.07989,
    "h": 191.6
  },
  "luminance": 0.14746
}

Semantic roles & 50–950 ramp

primary
#1F7774
secondary
#AB474B
accent
#464BE2
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #1F7774

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

Preview Lab → · Contrast checker → · Palette generator →

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