#1F7282#1F7282

#1F7282 is a mid, moderate teal. Relative luminance 0.139; OKLCH L 51.1% C 0.080 H 213.6°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#1F7282
RGBrgb(31, 114, 130)
HSLhsl(190, 61%, 32%)
HSVhsv(190, 76%, 51%)
CMYKcmyk(76.2%, 12.3%, 0%, 49%)
CIE-LABlab(44.14, -18.48, -15.84)
CIE-LCHlch(44.14, 24.34, 220.60°)
OKLaboklab(51.12% -0.0664 -0.0441)
OKLCHoklch(51.12% 0.08 213.6)
XYZxyz(10.6099, 13.9364, 23.2456)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7282 #822F1F
analogous
#1F8261 #1F7282 #1F4182
triadic
#1F7282 #821F72 #72821F
tetradic
#1F7282 #611F82 #822F1F #41821F
square
#1F7282 #611F82 #822F1F #41821F
split-complementary
#1F7282 #821F41 #82611F
monochromatic
#071B1F #134751 #1F7282 #2B9DB3 #48BDD3

Accessibility & contrast

On white

5.54
#1F7282 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#1F7282 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7282
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7282#FFFFFF#000000##FFFFFF
##1F72821.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#666E83
Deuteranopia (green-blind)
#596482
Tritanopia (blue-blind)
#007877
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #1f7282;
/* rgb */ color: rgb(31, 114, 130);
/* oklch */ color: oklch(51.1% 0.080 213.6);
Tailwind
colors: {
  custom: {
    50: '#6b9aa6',
    500: '#1f7282',
    950: '#000000',
  },
}
SCSS
$custom: #1f7282;
$custom-light: #6b9aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7282",
  "rgb": {
    "r": 31,
    "g": 114,
    "b": 130
  },
  "hsl": {
    "h": 189.697,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.51117,
    "c": 0.07976,
    "h": 213.6
  },
  "luminance": 0.13938
}

Semantic roles & 50–950 ramp

primary
#1F7282
secondary
#B55A48
accent
#5D43E5
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #1F7282

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

Preview Lab → · Contrast checker → · Palette generator →

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