#31707A#31707A

#31707A is a mid, moderate teal. Relative luminance 0.136; OKLCH L 50.8% C 0.066 H 209.3°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#31707A
RGBrgb(49, 112, 122)
HSLhsl(188, 43%, 34%)
HSVhsv(188, 60%, 48%)
CMYKcmyk(59.8%, 8.2%, 0%, 52.2%)
CIE-LABlab(43.72, -16.95, -11.64)
CIE-LCHlch(43.72, 20.56, 214.47°)
OKLaboklab(50.83% -0.0575 -0.0322)
OKLCHoklch(50.83% 0.066 209.3)
XYZxyz(10.5722, 13.6454, 20.4853)
Luminance0.1365 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31707A #7A3B31
analogous
#317A5F #31707A #314B7A
triadic
#31707A #7A3170 #707A31
tetradic
#31707A #5F317A #7A3B31 #4B7A31
square
#31707A #5F317A #7A3B31 #4B7A31
split-complementary
#31707A #7A314B #7A5F31
monochromatic
#0E2023 #1F484E #31707A #4398A6 #64B4C1

Accessibility & contrast

On white

5.63
#31707A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#31707A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31707A
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31707A#FFFFFF#000000##FFFFFF
##31707A1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#676C7B
Deuteranopia (green-blind)
#5C647A
Tritanopia (blue-blind)
#007573
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #31707a;
/* rgb */ color: rgb(49, 112, 122);
/* oklch */ color: oklch(50.8% 0.066 209.3);
Tailwind
colors: {
  custom: {
    50: '#7199a0',
    500: '#31707a',
    950: '#000000',
  },
}
SCSS
$custom: #31707a;
$custom-light: #7199a0;
$custom-dark: #000000;
JSON
{
  "hex": "#31707a",
  "rgb": {
    "r": 49,
    "g": 112,
    "b": 122
  },
  "hsl": {
    "h": 188.219,
    "s": 42.69,
    "l": 33.529
  },
  "oklch": {
    "l": 0.50827,
    "c": 0.06592,
    "h": 209.3
  },
  "luminance": 0.13646
}

Semantic roles & 50–950 ramp

primary
#31707A
secondary
#A8695E
accent
#6655D2
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E

Preview Lab

Preview with #31707A

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

Preview Lab → · Contrast checker → · Palette generator →

#31707A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva