#1F7382#1F7382

#1F7382 is a mid, moderate teal. Relative luminance 0.142; OKLCH L 51.4% C 0.080 H 212.4°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#1F7382
RGBrgb(31, 115, 130)
HSLhsl(189, 61%, 32%)
HSVhsv(189, 76%, 51%)
CMYKcmyk(76.2%, 11.5%, 0%, 49%)
CIE-LABlab(44.47, -19.03, -15.35)
CIE-LCHlch(44.47, 24.45, 218.89°)
OKLaboklab(51.38% -0.0675 -0.0428)
OKLCHoklch(51.38% 0.08 212.4)
XYZxyz(10.7233, 14.1632, 23.2834)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7382 #822E1F
analogous
#1F8260 #1F7382 #1F4282
triadic
#1F7382 #821F73 #73821F
tetradic
#1F7382 #601F82 #822E1F #42821F
square
#1F7382 #601F82 #822E1F #42821F
split-complementary
#1F7382 #821F42 #82601F
monochromatic
#071C1F #134751 #1F7382 #2B9FB3 #48BED3

Accessibility & contrast

On white

5.48
#1F7382 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#1F7382 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7382
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7382#FFFFFF#000000##FFFFFF
##1F73821.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#676F83
Deuteranopia (green-blind)
#5A6582
Tritanopia (blue-blind)
#007978
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1f7382;
/* rgb */ color: rgb(31, 115, 130);
/* oklch */ color: oklch(51.4% 0.080 212.4);
Tailwind
colors: {
  custom: {
    50: '#6b9ba6',
    500: '#1f7382',
    950: '#000000',
  },
}
SCSS
$custom: #1f7382;
$custom-light: #6b9ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7382",
  "rgb": {
    "r": 31,
    "g": 115,
    "b": 130
  },
  "hsl": {
    "h": 189.091,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.51378,
    "c": 0.07989,
    "h": 212.4
  },
  "luminance": 0.14164
}

Semantic roles & 50–950 ramp

primary
#1F7382
secondary
#B55848
accent
#5C43E5
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #1F7382

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

Preview Lab → · Contrast checker → · Palette generator →

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