#1F7E8D#1F7E8D

#1F7E8D is a mid, moderate teal. Relative luminance 0.171; OKLCH L 54.7% C 0.086 H 210.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#1F7E8D
RGBrgb(31, 126, 141)
HSLhsl(188, 64%, 34%)
HSVhsv(188, 78%, 55%)
CMYKcmyk(78%, 10.6%, 0%, 44.7%)
CIE-LABlab(48.43, -21.21, -15.83)
CIE-LCHlch(48.43, 26.47, 216.74°)
OKLaboklab(54.71% -0.0742 -0.0441)
OKLCHoklch(54.71% 0.086 210.7)
XYZxyz(12.8316, 17.1345, 27.8252)
Luminance0.1714 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7E8D #8D2E1F
analogous
#1F8D65 #1F7E8D #1F478D
triadic
#1F7E8D #8D1F7E #7E8D1F
tetradic
#1F7E8D #651F8D #8D2E1F #478D1F
square
#1F7E8D #651F8D #8D2E1F #478D1F
split-complementary
#1F7E8D #8D1F47 #8D651F
monochromatic
#092429 #14515B #1F7E8D #2AABBF #4EC5D8

Accessibility & contrast

On white

4.74
#1F7E8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#1F7E8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7E8D
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7E8D#FFFFFF#000000##FFFFFF
##1F7E8D1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72798E
Deuteranopia (green-blind)
#636E8D
Tritanopia (blue-blind)
#008483
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1f7e8d;
/* rgb */ color: rgb(31, 126, 141);
/* oklch */ color: oklch(54.7% 0.086 210.7);
Tailwind
colors: {
  custom: {
    50: '#6ea3ae',
    500: '#1f7e8d',
    950: '#000000',
  },
}
SCSS
$custom: #1f7e8d;
$custom-light: #6ea3ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7e8d",
  "rgb": {
    "r": 31,
    "g": 126,
    "b": 141
  },
  "hsl": {
    "h": 188.182,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54712,
    "c": 0.08632,
    "h": 210.7
  },
  "luminance": 0.17136
}

Semantic roles & 50–950 ramp

primary
#1F7E8D
secondary
#BB5C4D
accent
#5741E7
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #1F7E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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