#31777E#31777E

#31777E is a mid, moderate teal. Relative luminance 0.154; OKLCH L 52.8% C 0.070 H 204.3°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#31777E
RGBrgb(49, 119, 126)
HSLhsl(185, 44%, 34%)
HSVhsv(185, 61%, 49%)
CMYKcmyk(61.1%, 5.6%, 0%, 50.6%)
CIE-LABlab(46.11, -19.51, -10.42)
CIE-LCHlch(46.11, 22.12, 208.10°)
OKLaboklab(52.8% -0.0639 -0.0288)
OKLCHoklch(52.8% 0.07 204.3)
XYZxyz(11.6278, 15.3518, 22.0850)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31777E #7E3831
analogous
#317E5F #31777E #31517E
triadic
#31777E #7E3177 #777E31
tetradic
#31777E #5F317E #7E3831 #517E31
square
#31777E #5F317E #7E3831 #517E31
split-complementary
#31777E #7E3151 #7E5F31
monochromatic
#0F2426 #204D52 #31777E #42A1AA #66BBC3

Accessibility & contrast

On white

5.16
#31777E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#31777E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31777E
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31777E#FFFFFF#000000##FFFFFF
##31777E1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E727F
Deuteranopia (green-blind)
#62697E
Tritanopia (blue-blind)
#007C79
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #31777e;
/* rgb */ color: rgb(49, 119, 126);
/* oklch */ color: oklch(52.8% 0.070 204.3);
Tailwind
colors: {
  custom: {
    50: '#729ea3',
    500: '#31777e',
    950: '#000000',
  },
}
SCSS
$custom: #31777e;
$custom-light: #729ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#31777e",
  "rgb": {
    "r": 49,
    "g": 119,
    "b": 126
  },
  "hsl": {
    "h": 185.455,
    "s": 44,
    "l": 34.314
  },
  "oklch": {
    "l": 0.52798,
    "c": 0.07014,
    "h": 204.3
  },
  "luminance": 0.15353
}

Semantic roles & 50–950 ramp

primary
#31777E
secondary
#AB6760
accent
#6054D4
background
#F7F9FA
surface
#EDF2F3
border
#C8CCCD
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #31777E

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

Preview Lab → · Contrast checker → · Palette generator →

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