#31777C#31777C

#31777C is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.7% C 0.070 H 201.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#31777C
RGBrgb(49, 119, 124)
HSLhsl(184, 43%, 34%)
HSVhsv(184, 60%, 49%)
CMYKcmyk(60.5%, 4%, 0%, 51.4%)
CIE-LABlab(46.04, -20.13, -9.33)
CIE-LCHlch(46.04, 22.19, 204.88°)
OKLaboklab(52.72% -0.0648 -0.0258)
OKLCHoklch(52.72% 0.07 201.7)
XYZxyz(11.5000, 15.3007, 21.4121)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31777C #7C3631
analogous
#317C5C #31777C #31527C
triadic
#31777C #7C3177 #777C31
tetradic
#31777C #5C317C #7C3631 #527C31
square
#31777C #5C317C #7C3631 #527C31
split-complementary
#31777C #7C3152 #7C5C31
monochromatic
#0E2324 #204D50 #31777C #42A1A8 #65BCC2

Accessibility & contrast

On white

5.17
#31777C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#31777C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31777C
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31777C#FFFFFF#000000##FFFFFF
##31777C1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F727C
Deuteranopia (green-blind)
#63697C
Tritanopia (blue-blind)
#007B78
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #31777c;
/* rgb */ color: rgb(49, 119, 124);
/* oklch */ color: oklch(52.7% 0.070 201.7);
Tailwind
colors: {
  custom: {
    50: '#729ea1',
    500: '#31777c',
    950: '#000000',
  },
}
SCSS
$custom: #31777c;
$custom-light: #729ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#31777c",
  "rgb": {
    "r": 49,
    "g": 119,
    "b": 124
  },
  "hsl": {
    "h": 184,
    "s": 43.353,
    "l": 33.922
  },
  "oklch": {
    "l": 0.5272,
    "c": 0.0698,
    "h": 201.7
  },
  "luminance": 0.15302
}

Semantic roles & 50–950 ramp

primary
#31777C
secondary
#AA645F
accent
#5D55D3
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0F
muted
#7B7E7E

Preview Lab

Preview with #31777C

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

Preview Lab → · Contrast checker → · Palette generator →

#31777C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva