#31979D#31979D

#31979D is a light, moderate teal. Relative luminance 0.252; OKLCH L 62.2% C 0.091 H 200.8°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#31979D
RGBrgb(49, 151, 157)
HSLhsl(183, 52%, 40%)
HSVhsv(183, 69%, 62%)
CMYKcmyk(68.8%, 3.8%, 0%, 38.4%)
CIE-LABlab(57.29, -26.57, -11.67)
CIE-LCHlch(57.29, 29.01, 203.71°)
OKLaboklab(62.17% -0.0854 -0.0324)
OKLCHoklch(62.17% 0.091 200.8)
XYZxyz(18.4164, 25.2184, 35.7888)
Luminance0.2522 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31979D #9D3731
analogous
#319D6D #31979D #31619D
triadic
#31979D #9D3197 #979D31
tetradic
#31979D #6D319D #9D3731 #619D31
square
#31979D #6D319D #9D3731 #619D31
split-complementary
#31979D #9D3161 #9D6D31
monochromatic
#143D40 #226A6E #31979D #46BEC5 #75CFD4

Accessibility & contrast

On white

3.47
#31979D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#31979D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31979D
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31979D#FFFFFF#000000##000000
##31979D1.003.476.046.04
#FFFFFF3.471.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C909E
Deuteranopia (green-blind)
#7C859E
Tritanopia (blue-blind)
#009D99
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #31979d;
/* rgb */ color: rgb(49, 151, 157);
/* oklch */ color: oklch(62.2% 0.091 200.8);
Tailwind
colors: {
  custom: {
    50: '#79b6b9',
    500: '#31979d',
    950: '#000000',
  },
}
SCSS
$custom: #31979d;
$custom-light: #79b6b9;
$custom-dark: #000000;
JSON
{
  "hex": "#31979d",
  "rgb": {
    "r": 49,
    "g": 151,
    "b": 157
  },
  "hsl": {
    "h": 183.333,
    "s": 52.427,
    "l": 40.392
  },
  "oklch": {
    "l": 0.6217,
    "c": 0.09133,
    "h": 200.8
  },
  "luminance": 0.25221
}

Semantic roles & 50–950 ramp

primary
#31979D
secondary
#BC726E
accent
#544CDC
background
#F7FBFB
surface
#EEF6F6
border
#C9D0D0
text
#0A1111
muted
#7C8080

Preview Lab

Preview with #31979D

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

Preview Lab → · Contrast checker → · Palette generator →

#31979D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva