#1F8273#1F8273

#1F8273 is a mid, moderate teal. Relative luminance 0.175; OKLCH L 54.8% C 0.091 H 180.1°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#1F8273
RGBrgb(31, 130, 115)
HSLhsl(171, 61%, 32%)
HSVhsv(171, 76%, 51%)
CMYKcmyk(76.2%, 0%, 11.5%, 49%)
CIE-LABlab(48.88, -31.33, 0.13)
CIE-LCHlch(48.88, 31.33, 179.76°)
OKLaboklab(54.79% -0.0906 -0.0002)
OKLCHoklch(54.79% 0.091 180.1)
XYZxyz(11.6407, 17.4930, 18.9793)
Luminance0.1749 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8273 #821F2E
analogous
#1F8242 #1F8273 #1F6082
triadic
#1F8273 #731F82 #82731F
tetradic
#1F8273 #421F82 #821F2E #60821F
square
#1F8273 #421F82 #821F2E #60821F
split-complementary
#1F8273 #821F60 #82421F
monochromatic
#071F1C #135147 #1F8273 #2BB39F #48D3BE

Accessibility & contrast

On white

4.67
#1F8273 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#1F8273 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8273
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8273#FFFFFF#000000##FFFFFF
##1F82731.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7A72
Deuteranopia (green-blind)
#6F7074
Tritanopia (blue-blind)
#00847D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f8273;
/* rgb */ color: rgb(31, 130, 115);
/* oklch */ color: oklch(54.8% 0.091 180.1);
Tailwind
colors: {
  custom: {
    50: '#6ca79b',
    500: '#1f8273',
    950: '#000000',
  },
}
SCSS
$custom: #1f8273;
$custom-light: #6ca79b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8273",
  "rgb": {
    "r": 31,
    "g": 130,
    "b": 115
  },
  "hsl": {
    "h": 170.909,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54792,
    "c": 0.09061,
    "h": 180.1
  },
  "luminance": 0.17494
}

Semantic roles & 50–950 ramp

primary
#1F8273
secondary
#B54858
accent
#435CE5
background
#F6FAF9
surface
#ECF4F2
border
#C7CECC
text
#080F0E
muted
#7A7F7E

Preview Lab

Preview with #1F8273

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

Preview Lab → · Contrast checker → · Palette generator →

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