#1F7381#1F7381

#1F7381 is a mid, moderate teal. Relative luminance 0.141; OKLCH L 51.3% C 0.079 H 211.2°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#1F7381
RGBrgb(31, 115, 129)
HSLhsl(189, 61%, 31%)
HSVhsv(189, 76%, 51%)
CMYKcmyk(76%, 10.9%, 0%, 49.4%)
CIE-LABlab(44.43, -19.37, -14.81)
CIE-LCHlch(44.43, 24.38, 217.40°)
OKLaboklab(51.33% -0.0679 -0.0412)
OKLCHoklch(51.33% 0.079 211.2)
XYZxyz(10.6566, 14.1365, 22.9316)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7381 #812D1F
analogous
#1F815E #1F7381 #1F4281
triadic
#1F7381 #811F73 #73811F
tetradic
#1F7381 #5E1F81 #812D1F #42811F
square
#1F7381 #5E1F81 #812D1F #42811F
split-complementary
#1F7381 #811F42 #815E1F
monochromatic
#071B1E #134750 #1F7381 #2B9FB2 #47BFD3

Accessibility & contrast

On white

5.49
#1F7381 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#1F7381 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7381
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7381#FFFFFF#000000##FFFFFF
##1F73811.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#686F82
Deuteranopia (green-blind)
#5A6581
Tritanopia (blue-blind)
#007977
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1f7381;
/* rgb */ color: rgb(31, 115, 129);
/* oklch */ color: oklch(51.3% 0.079 211.2);
Tailwind
colors: {
  custom: {
    50: '#6b9ba5',
    500: '#1f7381',
    950: '#000000',
  },
}
SCSS
$custom: #1f7381;
$custom-light: #6b9ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7381",
  "rgb": {
    "r": 31,
    "g": 115,
    "b": 129
  },
  "hsl": {
    "h": 188.571,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.51335,
    "c": 0.07946,
    "h": 211.2
  },
  "luminance": 0.14138
}

Semantic roles & 50–950 ramp

primary
#1F7381
secondary
#B45748
accent
#5A43E4
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #1F7381

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

Preview Lab → · Contrast checker → · Palette generator →

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