#1F7276#1F7276

#1F7276 is a mid, moderate teal. Relative luminance 0.136; OKLCH L 50.6% C 0.076 H 199.8°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#1F7276
RGBrgb(31, 114, 118)
HSLhsl(183, 58%, 29%)
HSVhsv(183, 74%, 46%)
CMYKcmyk(73.7%, 3.4%, 0%, 53.7%)
CIE-LABlab(43.70, -22.47, -9.31)
CIE-LCHlch(43.70, 24.32, 202.51°)
OKLaboklab(50.62% -0.0719 -0.0258)
OKLCHoklch(50.62% 0.076 199.8)
XYZxyz(9.8509, 13.6328, 19.2482)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7276 #76231F
analogous
#1F764F #1F7276 #1F4776
triadic
#1F7276 #761F72 #72761F
tetradic
#1F7276 #4F1F76 #76231F #47761F
square
#1F7276 #4F1F76 #76231F #47761F
split-complementary
#1F7276 #761F47 #764F1F
monochromatic
#061718 #124346 #1F7276 #2CA1A6 #42C7CD

Accessibility & contrast

On white

5.63
#1F7276 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#1F7276 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7276
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7276#FFFFFF#000000##FFFFFF
##1F72761.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#696D76
Deuteranopia (green-blind)
#5D6376
Tritanopia (blue-blind)
#007673
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #1f7276;
/* rgb */ color: rgb(31, 114, 118);
/* oklch */ color: oklch(50.6% 0.076 199.8);
Tailwind
colors: {
  custom: {
    50: '#6a9b9d',
    500: '#1f7276',
    950: '#000000',
  },
}
SCSS
$custom: #1f7276;
$custom-light: #6a9b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7276",
  "rgb": {
    "r": 31,
    "g": 114,
    "b": 118
  },
  "hsl": {
    "h": 182.759,
    "s": 58.389,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50615,
    "c": 0.07637,
    "h": 199.8
  },
  "luminance": 0.13634
}

Semantic roles & 50–950 ramp

primary
#1F7276
secondary
#AA4C47
accent
#4D46E2
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #1F7276

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

Preview Lab → · Contrast checker → · Palette generator →

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