#31979A#31979A

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

Color values

HEX#31979A
RGBrgb(49, 151, 154)
HSLhsl(182, 52%, 40%)
HSVhsv(182, 68%, 60%)
CMYKcmyk(68.2%, 1.9%, 0%, 39.6%)
CIE-LABlab(57.19, -27.47, -10.10)
CIE-LCHlch(57.19, 29.27, 200.19°)
OKLaboklab(62.06% -0.0867 -0.028)
OKLCHoklch(62.06% 0.091 197.9)
XYZxyz(18.1634, 25.1172, 34.4564)
Luminance0.2512 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31979A #9A3431
analogous
#319A68 #31979A #31639A
triadic
#31979A #9A3197 #979A31
tetradic
#31979A #68319A #9A3431 #639A31
square
#31979A #68319A #9A3431 #639A31
split-complementary
#31979A #9A3163 #9A6831
monochromatic
#133C3D #22696C #31979A #45C0C4 #73D0D2

Accessibility & contrast

On white

3.49
#31979A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#31979A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31979A
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31979A#FFFFFF#000000##000000
##31979A1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31979a;
/* rgb */ color: rgb(49, 151, 154);
/* oklch */ color: oklch(62.1% 0.091 197.9);
Tailwind
colors: {
  custom: {
    50: '#78b6b7',
    500: '#31979a',
    950: '#000000',
  },
}
SCSS
$custom: #31979a;
$custom-light: #78b6b7;
$custom-dark: #000000;
JSON
{
  "hex": "#31979a",
  "rgb": {
    "r": 49,
    "g": 151,
    "b": 154
  },
  "hsl": {
    "h": 181.714,
    "s": 51.724,
    "l": 39.804
  },
  "oklch": {
    "l": 0.62058,
    "c": 0.09117,
    "h": 197.9
  },
  "luminance": 0.25119
}

Semantic roles & 50–950 ramp

primary
#31979A
secondary
#BA6F6C
accent
#514DDB
background
#F7FBFB
surface
#EEF6F6
border
#C9D0D0
text
#0A1111
muted
#7C8080

Preview Lab

Preview with #31979A

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

Preview Lab → · Contrast checker → · Palette generator →

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