#1F707D#1F707D

#1F707D is a mid, moderate teal. Relative luminance 0.134; OKLCH L 50.4% C 0.077 H 210.6°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#1F707D
RGBrgb(31, 112, 125)
HSLhsl(188, 60%, 31%)
HSVhsv(188, 75%, 49%)
CMYKcmyk(75.2%, 10.4%, 0%, 51%)
CIE-LABlab(43.30, -19.09, -14.13)
CIE-LCHlch(43.30, 23.75, 216.50°)
OKLaboklab(50.37% -0.0665 -0.0393)
OKLCHoklch(50.37% 0.077 210.6)
XYZxyz(10.0593, 13.3591, 21.4465)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F707D #7D2C1F
analogous
#1F7D5B #1F707D #1F417D
triadic
#1F707D #7D1F70 #707D1F
tetradic
#1F707D #5B1F7D #7D2C1F #417D1F
square
#1F707D #5B1F7D #7D2C1F #417D1F
split-complementary
#1F707D #7D1F41 #7D5B1F
monochromatic
#07181B #13444C #1F707D #2B9CAE #45BED1

Accessibility & contrast

On white

5.72
#1F707D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#1F707D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F707D
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F707D#FFFFFF#000000##FFFFFF
##1F707D1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#656C7E
Deuteranopia (green-blind)
#58627D
Tritanopia (blue-blind)
#007674
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #1f707d;
/* rgb */ color: rgb(31, 112, 125);
/* oklch */ color: oklch(50.4% 0.077 210.6);
Tailwind
colors: {
  custom: {
    50: '#6a99a2',
    500: '#1f707d',
    950: '#000000',
  },
}
SCSS
$custom: #1f707d;
$custom-light: #6a99a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f707d",
  "rgb": {
    "r": 31,
    "g": 112,
    "b": 125
  },
  "hsl": {
    "h": 188.298,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.50374,
    "c": 0.07724,
    "h": 210.6
  },
  "luminance": 0.1336
}

Semantic roles & 50–950 ramp

primary
#1F707D
secondary
#B05648
accent
#5A44E3
background
#F6F9FA
surface
#ECF2F3
border
#C7CCCD
text
#070E0F
muted
#7A7E7F

Preview Lab

Preview with #1F707D

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

Preview Lab → · Contrast checker → · Palette generator →

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