#31979E#31979E

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

Color values

HEX#31979E
RGBrgb(49, 151, 158)
HSLhsl(184, 53%, 41%)
HSVhsv(184, 69%, 62%)
CMYKcmyk(69%, 4.4%, 0%, 38%)
CIE-LABlab(57.32, -26.26, -12.19)
CIE-LCHlch(57.32, 28.95, 204.90°)
OKLaboklab(62.21% -0.085 -0.0338)
OKLCHoklch(62.21% 0.091 201.7)
XYZxyz(18.5021, 25.2527, 36.2403)
Luminance0.2525 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31979E #9E3831
analogous
#319E6E #31979E #31609E
triadic
#31979E #9E3197 #979E31
tetradic
#31979E #6E319E #9E3831 #609E31
square
#31979E #6E319E #9E3831 #609E31
split-complementary
#31979E #9E3160 #9E6E31
monochromatic
#143E41 #236A6F #31979E #46BEC6 #75CED4

Accessibility & contrast

On white

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

On black

6.05
#31979E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31979E
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31979E#FFFFFF#000000##000000
##31979E1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31979e;
/* rgb */ color: rgb(49, 151, 158);
/* oklch */ color: oklch(62.2% 0.091 201.7);
Tailwind
colors: {
  custom: {
    50: '#79b6ba',
    500: '#31979e',
    950: '#000000',
  },
}
SCSS
$custom: #31979e;
$custom-light: #79b6ba;
$custom-dark: #000000;
JSON
{
  "hex": "#31979e",
  "rgb": {
    "r": 49,
    "g": 151,
    "b": 158
  },
  "hsl": {
    "h": 183.853,
    "s": 52.657,
    "l": 40.588
  },
  "oklch": {
    "l": 0.62208,
    "c": 0.09145,
    "h": 201.7
  },
  "luminance": 0.25255
}

Semantic roles & 50–950 ramp

primary
#31979E
secondary
#BC736E
accent
#554CDC
background
#F7FBFB
surface
#EEF6F6
border
#C9D0D0
text
#0A1111
muted
#7C8080

Preview Lab

Preview with #31979E

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

Preview Lab → · Contrast checker → · Palette generator →

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