#31978E#31978E

#31978E is a mid, moderate teal. Relative luminance 0.247; OKLCH L 61.6% C 0.093 H 186.7°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#31978E
RGBrgb(49, 151, 142)
HSLhsl(175, 51%, 39%)
HSVhsv(175, 68%, 59%)
CMYKcmyk(67.5%, 0%, 6%, 40.8%)
CIE-LABlab(56.82, -30.99, -3.80)
CIE-LCHlch(56.82, 31.22, 186.99°)
OKLaboklab(61.63% -0.0922 -0.0108)
OKLCHoklch(61.63% 0.093 186.7)
XYZxyz(17.2135, 24.7372, 29.4535)
Luminance0.2474 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31978E #97313A
analogous
#31975B #31978E #316D97
triadic
#31978E #8E3197 #978E31
tetradic
#31978E #5B3197 #97313A #6D9731
square
#31978E #5B3197 #97313A #6D9731
split-complementary
#31978E #97316D #975B31
monochromatic
#133B37 #226963 #31978E #43C2B7 #71D1C9

Accessibility & contrast

On white

3.53
#31978E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#31978E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31978E
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31978E#FFFFFF#000000##000000
##31978E1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8F8E
Deuteranopia (green-blind)
#80848F
Tritanopia (blue-blind)
#009B94
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #31978e;
/* rgb */ color: rgb(49, 151, 142);
/* oklch */ color: oklch(61.6% 0.093 186.7);
Tailwind
colors: {
  custom: {
    50: '#77b6af',
    500: '#31978e',
    950: '#000000',
  },
}
SCSS
$custom: #31978e;
$custom-light: #77b6af;
$custom-dark: #000000;
JSON
{
  "hex": "#31978e",
  "rgb": {
    "r": 49,
    "g": 151,
    "b": 142
  },
  "hsl": {
    "h": 174.706,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.61634,
    "c": 0.09288,
    "h": 186.7
  },
  "luminance": 0.24739
}

Semantic roles & 50–950 ramp

primary
#31978E
secondary
#B96B72
accent
#4D5ADA
background
#F7FBFA
surface
#EEF6F4
border
#C9D0CE
text
#0A1110
muted
#7C807F

Preview Lab

Preview with #31978E

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

Preview Lab → · Contrast checker → · Palette generator →

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