#1F7262#1F7262

#1F7262 is a mid, moderate teal. Relative luminance 0.132; OKLCH L 49.9% C 0.082 H 177.0°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#1F7262
RGBrgb(31, 114, 98)
HSLhsl(168, 57%, 28%)
HSVhsv(168, 73%, 45%)
CMYKcmyk(72.8%, 0%, 14%, 55.3%)
CIE-LABlab(43.07, -28.55, 1.78)
CIE-LCHlch(43.07, 28.61, 176.43°)
OKLaboklab(49.9% -0.0817 0.0043)
OKLCHoklch(49.9% 0.082 177)
XYZxyz(8.7859, 13.2068, 13.6390)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7262 #721F2F
analogous
#1F7238 #1F7262 #1F5872
triadic
#1F7262 #621F72 #72621F
tetradic
#1F7262 #381F72 #721F2F #58721F
square
#1F7262 #381F72 #721F2F #58721F
split-complementary
#1F7262 #721F58 #72381F
monochromatic
#071815 #124239 #1F7262 #2CA28B #40CBB0

Accessibility & contrast

On white

5.77
#1F7262 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#1F7262 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7262
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7262#FFFFFF#000000##FFFFFF
##1F72621.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6B61
Deuteranopia (green-blind)
#626263
Tritanopia (blue-blind)
#00746D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #1f7262;
/* rgb */ color: rgb(31, 114, 98);
/* oklch */ color: oklch(49.9% 0.082 177.0);
Tailwind
colors: {
  custom: {
    50: '#689b8e',
    500: '#1f7262',
    950: '#000000',
  },
}
SCSS
$custom: #1f7262;
$custom-light: #689b8e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7262",
  "rgb": {
    "r": 31,
    "g": 114,
    "b": 98
  },
  "hsl": {
    "h": 168.434,
    "s": 57.241,
    "l": 28.431
  },
  "oklch": {
    "l": 0.49896,
    "c": 0.08179,
    "h": 177
  },
  "luminance": 0.13208
}

Semantic roles & 50–950 ramp

primary
#1F7262
secondary
#A64759
accent
#4765E0
background
#F6F9F8
surface
#EBF2F0
border
#C6CCCB
text
#070E0C
muted
#7A7E7D

Preview Lab

Preview with #1F7262

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

Preview Lab → · Contrast checker → · Palette generator →

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