#1F7586#1F7586

#1F7586 is a mid, moderate teal. Relative luminance 0.147; OKLCH L 52.1% C 0.082 H 214.1°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#1F7586
RGBrgb(31, 117, 134)
HSLhsl(190, 62%, 32%)
HSVhsv(190, 77%, 53%)
CMYKcmyk(76.9%, 12.7%, 0%, 47.5%)
CIE-LABlab(45.27, -18.75, -16.51)
CIE-LCHlch(45.27, 24.98, 221.36°)
OKLaboklab(52.08% -0.0679 -0.046)
OKLCHoklch(52.08% 0.082 214.1)
XYZxyz(11.2276, 14.7338, 24.8018)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7586 #86301F
analogous
#1F8664 #1F7586 #1F4286
triadic
#1F7586 #861F75 #75861F
tetradic
#1F7586 #641F86 #86301F #42861F
square
#1F7586 #641F86 #86301F #42861F
split-complementary
#1F7586 #861F42 #86641F
monochromatic
#081E23 #144A54 #1F7586 #2AA0B8 #4ABED5

Accessibility & contrast

On white

5.32
#1F7586 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#1F7586 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7586
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7586#FFFFFF#000000##FFFFFF
##1F75861.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#697187
Deuteranopia (green-blind)
#5B6786
Tritanopia (blue-blind)
#007B7A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1f7586;
/* rgb */ color: rgb(31, 117, 134);
/* oklch */ color: oklch(52.1% 0.082 214.1);
Tailwind
colors: {
  custom: {
    50: '#6c9da9',
    500: '#1f7586',
    950: '#000000',
  },
}
SCSS
$custom: #1f7586;
$custom-light: #6c9da9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7586",
  "rgb": {
    "r": 31,
    "g": 117,
    "b": 134
  },
  "hsl": {
    "h": 189.903,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52075,
    "c": 0.08201,
    "h": 214.1
  },
  "luminance": 0.14735
}

Semantic roles & 50–950 ramp

primary
#1F7586
secondary
#B85B49
accent
#5D42E5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #1F7586

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

Preview Lab → · Contrast checker → · Palette generator →

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