#1F7785#1F7785

#1F7785 is a mid, moderate teal. Relative luminance 0.152; OKLCH L 52.6% C 0.082 H 210.7°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#1F7785
RGBrgb(31, 119, 133)
HSLhsl(188, 62%, 32%)
HSVhsv(188, 77%, 52%)
CMYKcmyk(76.7%, 10.5%, 0%, 47.8%)
CIE-LABlab(45.88, -20.17, -14.99)
CIE-LCHlch(45.88, 25.13, 216.62°)
OKLaboklab(52.55% -0.0704 -0.0417)
OKLCHoklch(52.55% 0.082 210.7)
XYZxyz(11.3937, 15.1770, 24.5147)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7785 #852D1F
analogous
#1F8560 #1F7785 #1F4485
triadic
#1F7785 #851F77 #77851F
tetradic
#1F7785 #601F85 #852D1F #44851F
square
#1F7785 #601F85 #852D1F #44851F
split-complementary
#1F7785 #851F44 #85601F
monochromatic
#081E22 #134B53 #1F7785 #2BA3B7 #4AC2D5

Accessibility & contrast

On white

5.20
#1F7785 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#1F7785 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7785
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7785#FFFFFF#000000##FFFFFF
##1F77851.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B7386
Deuteranopia (green-blind)
#5D6885
Tritanopia (blue-blind)
#007D7B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1f7785;
/* rgb */ color: rgb(31, 119, 133);
/* oklch */ color: oklch(52.6% 0.082 210.7);
Tailwind
colors: {
  custom: {
    50: '#6c9ea8',
    500: '#1f7785',
    950: '#000000',
  },
}
SCSS
$custom: #1f7785;
$custom-light: #6c9ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7785",
  "rgb": {
    "r": 31,
    "g": 119,
    "b": 133
  },
  "hsl": {
    "h": 188.235,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52553,
    "c": 0.08185,
    "h": 210.7
  },
  "luminance": 0.15178
}

Semantic roles & 50–950 ramp

primary
#1F7785
secondary
#B75849
accent
#5943E5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #1F7785

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

Preview Lab → · Contrast checker → · Palette generator →

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