#31979B#31979B

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

Color values

HEX#31979B
RGBrgb(49, 151, 155)
HSLhsl(182, 52%, 40%)
HSVhsv(182, 68%, 61%)
CMYKcmyk(68.4%, 2.6%, 0%, 39.2%)
CIE-LABlab(57.22, -27.17, -10.62)
CIE-LCHlch(57.22, 29.18, 201.36°)
OKLaboklab(62.1% -0.0863 -0.0295)
OKLCHoklch(62.1% 0.091 198.9)
XYZxyz(18.2470, 25.1507, 34.8969)
Luminance0.2515 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31979B #9B3531
analogous
#319B6A #31979B #31629B
triadic
#31979B #9B3197 #979B31
tetradic
#31979B #6A319B #9B3531 #629B31
square
#31979B #6A319B #9B3531 #629B31
split-complementary
#31979B #9B3162 #9B6A31
monochromatic
#143C3E #226A6D #31979B #45BFC4 #73CFD3

Accessibility & contrast

On white

3.48
#31979B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#31979B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31979B
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31979B#FFFFFF#000000##000000
##31979B1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C909B
Deuteranopia (green-blind)
#7C849C
Tritanopia (blue-blind)
#009C98
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #31979b;
/* rgb */ color: rgb(49, 151, 155);
/* oklch */ color: oklch(62.1% 0.091 198.9);
Tailwind
colors: {
  custom: {
    50: '#79b6b8',
    500: '#31979b',
    950: '#000000',
  },
}
SCSS
$custom: #31979b;
$custom-light: #79b6b8;
$custom-dark: #000000;
JSON
{
  "hex": "#31979b",
  "rgb": {
    "r": 49,
    "g": 151,
    "b": 155
  },
  "hsl": {
    "h": 182.264,
    "s": 51.961,
    "l": 40
  },
  "oklch": {
    "l": 0.62095,
    "c": 0.09119,
    "h": 198.9
  },
  "luminance": 0.25153
}

Semantic roles & 50–950 ramp

primary
#31979B
secondary
#BB706D
accent
#524CDB
background
#F7FBFB
surface
#EEF6F6
border
#C9D0D0
text
#0A1111
muted
#7C8080

Preview Lab

Preview with #31979B

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

Preview Lab → · Contrast checker → · Palette generator →

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