#1F8274#1F8274

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

Color values

HEX#1F8274
RGBrgb(31, 130, 116)
HSLhsl(172, 61%, 32%)
HSVhsv(172, 76%, 51%)
CMYKcmyk(76.2%, 0%, 10.8%, 49%)
CIE-LABlab(48.90, -31.04, -0.41)
CIE-LCHlch(48.90, 31.05, 180.76°)
OKLaboklab(54.82% -0.0901 -0.0016)
OKLCHoklch(54.82% 0.09 181)
XYZxyz(11.6985, 17.5161, 19.2840)
Luminance0.1752 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8274 #821F2D
analogous
#1F8243 #1F8274 #1F5F82
triadic
#1F8274 #741F82 #82741F
tetradic
#1F8274 #431F82 #821F2D #5F821F
square
#1F8274 #431F82 #821F2D #5F821F
split-complementary
#1F8274 #821F5F #82431F
monochromatic
#071F1C #135148 #1F8274 #2BB3A0 #48D3C0

Accessibility & contrast

On white

4.66
#1F8274 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F8274
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8274#FFFFFF#000000##FFFFFF
##1F82741.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7A73
Deuteranopia (green-blind)
#6E7075
Tritanopia (blue-blind)
#00847E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f8274;
/* rgb */ color: rgb(31, 130, 116);
/* oklch */ color: oklch(54.8% 0.090 181.0);
Tailwind
colors: {
  custom: {
    50: '#6ca79c',
    500: '#1f8274',
    950: '#000000',
  },
}
SCSS
$custom: #1f8274;
$custom-light: #6ca79c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8274",
  "rgb": {
    "r": 31,
    "g": 130,
    "b": 116
  },
  "hsl": {
    "h": 171.515,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54824,
    "c": 0.09013,
    "h": 181
  },
  "luminance": 0.17518
}

Semantic roles & 50–950 ramp

primary
#1F8274
secondary
#B54857
accent
#435AE5
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #1F8274

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

Preview Lab → · Contrast checker → · Palette generator →

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