#1F7582#1F7582

#1F7582 is a mid, moderate teal. Relative luminance 0.146; OKLCH L 51.9% C 0.080 H 209.9°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#1F7582
RGBrgb(31, 117, 130)
HSLhsl(188, 61%, 32%)
HSVhsv(188, 76%, 51%)
CMYKcmyk(76.2%, 10%, 0%, 49%)
CIE-LABlab(45.12, -20.11, -14.36)
CIE-LCHlch(45.12, 24.71, 215.53°)
OKLaboklab(51.9% -0.0696 -0.04)
OKLCHoklch(51.9% 0.08 209.9)
XYZxyz(10.9539, 14.6243, 23.3602)
Luminance0.1463 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7582 #822C1F
analogous
#1F825E #1F7582 #1F4482
triadic
#1F7582 #821F75 #75821F
tetradic
#1F7582 #5E1F82 #822C1F #44821F
square
#1F7582 #5E1F82 #822C1F #44821F
split-complementary
#1F7582 #821F44 #825E1F
monochromatic
#071C1F #134951 #1F7582 #2BA1B3 #48C1D3

Accessibility & contrast

On white

5.35
#1F7582 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#1F7582 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7582
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7582#FFFFFF#000000##FFFFFF
##1F75821.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A7183
Deuteranopia (green-blind)
#5C6682
Tritanopia (blue-blind)
#007B79
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1f7582;
/* rgb */ color: rgb(31, 117, 130);
/* oklch */ color: oklch(51.9% 0.080 209.9);
Tailwind
colors: {
  custom: {
    50: '#6b9da6',
    500: '#1f7582',
    950: '#000000',
  },
}
SCSS
$custom: #1f7582;
$custom-light: #6b9da6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7582",
  "rgb": {
    "r": 31,
    "g": 117,
    "b": 130
  },
  "hsl": {
    "h": 187.879,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.51902,
    "c": 0.08027,
    "h": 209.9
  },
  "luminance": 0.14626
}

Semantic roles & 50–950 ramp

primary
#1F7582
secondary
#B55648
accent
#5843E5
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #1F7582

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

Preview Lab → · Contrast checker → · Palette generator →

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