#1F7181#1F7181

#1F7181 is a mid, moderate teal. Relative luminance 0.137; OKLCH L 50.8% C 0.079 H 213.8°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#1F7181
RGBrgb(31, 113, 129)
HSLhsl(190, 61%, 31%)
HSVhsv(190, 76%, 51%)
CMYKcmyk(76%, 12.4%, 0%, 49.4%)
CIE-LABlab(43.78, -18.28, -15.80)
CIE-LCHlch(43.78, 24.16, 220.83°)
OKLaboklab(50.81% -0.0658 -0.044)
OKLCHoklch(50.81% 0.079 213.8)
XYZxyz(10.4310, 13.6853, 22.8564)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7181 #812F1F
analogous
#1F8160 #1F7181 #1F4081
triadic
#1F7181 #811F71 #71811F
tetradic
#1F7181 #601F81 #812F1F #40811F
square
#1F7181 #601F81 #812F1F #40811F
split-complementary
#1F7181 #811F40 #81601F
monochromatic
#071B1E #134650 #1F7181 #2B9CB2 #47BCD3

Accessibility & contrast

On white

5.62
#1F7181 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#1F7181 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7181
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7181#FFFFFF#000000##FFFFFF
##1F71811.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#656D82
Deuteranopia (green-blind)
#586381
Tritanopia (blue-blind)
#007776
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #1f7181;
/* rgb */ color: rgb(31, 113, 129);
/* oklch */ color: oklch(50.8% 0.079 213.8);
Tailwind
colors: {
  custom: {
    50: '#6b9aa5',
    500: '#1f7181',
    950: '#000000',
  },
}
SCSS
$custom: #1f7181;
$custom-light: #6b9aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7181",
  "rgb": {
    "r": 31,
    "g": 113,
    "b": 129
  },
  "hsl": {
    "h": 189.796,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.50811,
    "c": 0.07917,
    "h": 213.8
  },
  "luminance": 0.13687
}

Semantic roles & 50–950 ramp

primary
#1F7181
secondary
#B45A48
accent
#5E43E4
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #1F7181

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

Preview Lab → · Contrast checker → · Palette generator →

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