#31979C#31979C

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

Color values

HEX#31979C
RGBrgb(49, 151, 156)
HSLhsl(183, 52%, 40%)
HSVhsv(183, 69%, 61%)
CMYKcmyk(68.6%, 3.2%, 0%, 38.8%)
CIE-LABlab(57.25, -26.87, -11.15)
CIE-LCHlch(57.25, 29.09, 202.53°)
OKLaboklab(62.13% -0.0858 -0.0309)
OKLCHoklch(62.13% 0.091 199.8)
XYZxyz(18.3313, 25.1844, 35.3410)
Luminance0.2519 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31979C #9C3631
analogous
#319C6C #31979C #31619C
triadic
#31979C #9C3197 #979C31
tetradic
#31979C #6C319C #9C3631 #619C31
square
#31979C #6C319C #9C3631 #619C31
split-complementary
#31979C #9C3161 #9C6C31
monochromatic
#143D3F #226A6D #31979C #45BFC5 #74CFD3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31979C#FFFFFF#000000##000000
##31979C1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31979c;
/* rgb */ color: rgb(49, 151, 156);
/* oklch */ color: oklch(62.1% 0.091 199.8);
Tailwind
colors: {
  custom: {
    50: '#79b6b9',
    500: '#31979c',
    950: '#000000',
  },
}
SCSS
$custom: #31979c;
$custom-light: #79b6b9;
$custom-dark: #000000;
JSON
{
  "hex": "#31979c",
  "rgb": {
    "r": 49,
    "g": 151,
    "b": 156
  },
  "hsl": {
    "h": 182.804,
    "s": 52.195,
    "l": 40.196
  },
  "oklch": {
    "l": 0.62132,
    "c": 0.09125,
    "h": 199.8
  },
  "luminance": 0.25186
}

Semantic roles & 50–950 ramp

primary
#31979C
secondary
#BB716D
accent
#534CDC
background
#F7FBFB
surface
#EEF6F6
border
#C9D0D0
text
#0A1111
muted
#7C8080

Preview Lab

Preview with #31979C

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

Preview Lab → · Contrast checker → · Palette generator →

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