#31908A#31908A

#31908A is a mid, moderate teal. Relative luminance 0.224; OKLCH L 59.7% C 0.088 H 189.1°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#31908A
RGBrgb(49, 144, 138)
HSLhsl(176, 49%, 38%)
HSVhsv(176, 66%, 56%)
CMYKcmyk(66%, 0%, 4.2%, 43.5%)
CIE-LABlab(54.48, -28.74, -4.95)
CIE-LCHlch(54.48, 29.16, 189.78°)
OKLaboklab(59.7% -0.0865 -0.0139)
OKLCHoklch(59.7% 0.088 189.1)
XYZxyz(15.8252, 22.4327, 27.5358)
Luminance0.2243 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31908A #903137
analogous
#31905B #31908A #316690
triadic
#31908A #8A3190 #908A31
tetradic
#31908A #5B3190 #903137 #669031
square
#31908A #5B3190 #903137 #669031
split-complementary
#31908A #903166 #905B31
monochromatic
#123532 #21625E #31908A #41BEB6 #6ECEC8

Accessibility & contrast

On white

3.83
#31908A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#31908A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31908A
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31908A#FFFFFF#000000##000000
##31908A1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#88888A
Deuteranopia (green-blind)
#7A7E8B
Tritanopia (blue-blind)
#00948E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #31908a;
/* rgb */ color: rgb(49, 144, 138);
/* oklch */ color: oklch(59.7% 0.088 189.1);
Tailwind
colors: {
  custom: {
    50: '#76b1ac',
    500: '#31908a',
    950: '#000000',
  },
}
SCSS
$custom: #31908a;
$custom-light: #76b1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#31908a",
  "rgb": {
    "r": 49,
    "g": 144,
    "b": 138
  },
  "hsl": {
    "h": 176.211,
    "s": 49.223,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59698,
    "c": 0.08765,
    "h": 189.1
  },
  "luminance": 0.22434
}

Semantic roles & 50–950 ramp

primary
#31908A
secondary
#B5686D
accent
#4F58D9
background
#F7FAFA
surface
#EEF5F4
border
#C9CFCE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #31908A

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

Preview Lab → · Contrast checker → · Palette generator →

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