#31979F#31979F

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

Color values

HEX#31979F
RGBrgb(49, 151, 159)
HSLhsl(184, 53%, 41%)
HSVhsv(184, 69%, 62%)
CMYKcmyk(69.2%, 5%, 0%, 37.6%)
CIE-LABlab(57.35, -25.95, -12.71)
CIE-LCHlch(57.35, 28.90, 206.09°)
OKLaboklab(62.25% -0.0845 -0.0353)
OKLCHoklch(62.25% 0.092 202.6)
XYZxyz(18.5885, 25.2873, 36.6954)
Luminance0.2529 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31979F #9F3931
analogous
#319F70 #31979F #31609F
triadic
#31979F #9F3197 #979F31
tetradic
#31979F #70319F #9F3931 #609F31
square
#31979F #70319F #9F3931 #609F31
split-complementary
#31979F #9F3160 #9F7031
monochromatic
#143E41 #236B70 #31979F #47BDC6 #76CED5

Accessibility & contrast

On white

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

On black

6.06
#31979F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31979F
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31979F#FFFFFF#000000##000000
##31979F1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31979f;
/* rgb */ color: rgb(49, 151, 159);
/* oklch */ color: oklch(62.2% 0.092 202.6);
Tailwind
colors: {
  custom: {
    50: '#79b6bb',
    500: '#31979f',
    950: '#000000',
  },
}
SCSS
$custom: #31979f;
$custom-light: #79b6bb;
$custom-dark: #000000;
JSON
{
  "hex": "#31979f",
  "rgb": {
    "r": 49,
    "g": 151,
    "b": 159
  },
  "hsl": {
    "h": 184.364,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.62246,
    "c": 0.09159,
    "h": 202.6
  },
  "luminance": 0.25289
}

Semantic roles & 50–950 ramp

primary
#31979F
secondary
#BD756F
accent
#564CDC
background
#F7FBFB
surface
#EEF6F6
border
#C9D0D0
text
#0A1111
muted
#7C8080

Preview Lab

Preview with #31979F

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

Preview Lab → · Contrast checker → · Palette generator →

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