#1F707E#1F707E

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

Color values

HEX#1F707E
RGBrgb(31, 112, 126)
HSLhsl(189, 61%, 31%)
HSVhsv(189, 75%, 49%)
CMYKcmyk(75.4%, 11.1%, 0%, 50.6%)
CIE-LABlab(43.34, -18.75, -14.67)
CIE-LCHlch(43.34, 23.81, 218.03°)
OKLaboklab(50.42% -0.066 -0.0408)
OKLCHoklch(50.42% 0.078 211.7)
XYZxyz(10.1235, 13.3848, 21.7846)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F707E #7E2D1F
analogous
#1F7E5C #1F707E #1F407E
triadic
#1F707E #7E1F70 #707E1F
tetradic
#1F707E #5C1F7E #7E2D1F #407E1F
square
#1F707E #5C1F7E #7E2D1F #407E1F
split-complementary
#1F707E #7E1F40 #7E5C1F
monochromatic
#07191C #13444D #1F707E #2B9CAF #46BDD1

Accessibility & contrast

On white

5.71
#1F707E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#1F707E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F707E
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F707E#FFFFFF#000000##FFFFFF
##1F707E1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f707e;
/* rgb */ color: rgb(31, 112, 126);
/* oklch */ color: oklch(50.4% 0.078 211.7);
Tailwind
colors: {
  custom: {
    50: '#6a99a3',
    500: '#1f707e',
    950: '#000000',
  },
}
SCSS
$custom: #1f707e;
$custom-light: #6a99a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f707e",
  "rgb": {
    "r": 31,
    "g": 112,
    "b": 126
  },
  "hsl": {
    "h": 188.842,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.50418,
    "c": 0.07766,
    "h": 211.7
  },
  "luminance": 0.13386
}

Semantic roles & 50–950 ramp

primary
#1F707E
secondary
#B15748
accent
#5C44E4
background
#F6F9FA
surface
#ECF2F3
border
#C7CCCD
text
#070E0F
muted
#7A7E7F

Preview Lab

Preview with #1F707E

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

Preview Lab → · Contrast checker → · Palette generator →

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