#1F7280#1F7280

#1F7280 is a mid, moderate teal. Relative luminance 0.139; OKLCH L 51.0% C 0.079 H 211.4°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#1F7280
RGBrgb(31, 114, 128)
HSLhsl(189, 61%, 31%)
HSVhsv(189, 76%, 50%)
CMYKcmyk(75.8%, 10.9%, 0%, 49.8%)
CIE-LABlab(44.06, -19.16, -14.76)
CIE-LCHlch(44.06, 24.19, 217.61°)
OKLaboklab(51.03% -0.0673 -0.0411)
OKLCHoklch(51.03% 0.079 211.4)
XYZxyz(10.4770, 13.8832, 22.5454)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7280 #802D1F
analogous
#1F805D #1F7280 #1F4180
triadic
#1F7280 #801F72 #72801F
tetradic
#1F7280 #5D1F80 #802D1F #41801F
square
#1F7280 #5D1F80 #802D1F #41801F
split-complementary
#1F7280 #801F41 #805D1F
monochromatic
#071A1D #13464F #1F7280 #2B9EB1 #47BED2

Accessibility & contrast

On white

5.56
#1F7280 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#1F7280 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7280
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7280#FFFFFF#000000##FFFFFF
##1F72801.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#676E81
Deuteranopia (green-blind)
#596480
Tritanopia (blue-blind)
#007876
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #1f7280;
/* rgb */ color: rgb(31, 114, 128);
/* oklch */ color: oklch(51.0% 0.079 211.4);
Tailwind
colors: {
  custom: {
    50: '#6b9aa4',
    500: '#1f7280',
    950: '#000000',
  },
}
SCSS
$custom: #1f7280;
$custom-light: #6b9aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7280",
  "rgb": {
    "r": 31,
    "g": 114,
    "b": 128
  },
  "hsl": {
    "h": 188.66,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51029,
    "c": 0.07887,
    "h": 211.4
  },
  "luminance": 0.13884
}

Semantic roles & 50–950 ramp

primary
#1F7280
secondary
#B35748
accent
#5B44E4
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #1F7280

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

Preview Lab → · Contrast checker → · Palette generator →

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