#31908D#31908D

#31908D is a mid, moderate teal. Relative luminance 0.225; OKLCH L 59.8% C 0.087 H 192.1°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#31908D
RGBrgb(49, 144, 141)
HSLhsl(178, 49%, 38%)
HSVhsv(178, 66%, 56%)
CMYKcmyk(66%, 0%, 2.1%, 43.5%)
CIE-LABlab(54.58, -27.87, -6.55)
CIE-LCHlch(54.58, 28.62, 193.22°)
OKLaboklab(59.8% -0.0851 -0.0182)
OKLCHoklch(59.8% 0.087 192.1)
XYZxyz(16.0454, 22.5208, 28.6955)
Luminance0.2252 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31908D #903134
analogous
#31905D #31908D #316490
triadic
#31908D #8D3190 #908D31
tetradic
#31908D #5D3190 #903134 #649031
square
#31908D #5D3190 #903134 #649031
split-complementary
#31908D #903164 #905D31
monochromatic
#123534 #216260 #31908D #41BEBA #6ECECB

Accessibility & contrast

On white

3.81
#31908D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#31908D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31908D
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31908D#FFFFFF#000000##000000
##31908D1.003.815.505.50
#FFFFFF3.811.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#87898D
Deuteranopia (green-blind)
#797E8E
Tritanopia (blue-blind)
#00948F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #31908d;
/* rgb */ color: rgb(49, 144, 141);
/* oklch */ color: oklch(59.8% 0.087 192.1);
Tailwind
colors: {
  custom: {
    50: '#76b1ae',
    500: '#31908d',
    950: '#000000',
  },
}
SCSS
$custom: #31908d;
$custom-light: #76b1ae;
$custom-dark: #000000;
JSON
{
  "hex": "#31908d",
  "rgb": {
    "r": 49,
    "g": 144,
    "b": 141
  },
  "hsl": {
    "h": 178.105,
    "s": 49.223,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59803,
    "c": 0.08708,
    "h": 192.1
  },
  "luminance": 0.22523
}

Semantic roles & 50–950 ramp

primary
#31908D
secondary
#B5686A
accent
#4F53D9
background
#F7FAFA
surface
#EEF5F4
border
#C9CFCE
text
#0A1010
muted
#7C7F7F

Preview Lab

Preview with #31908D

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

Preview Lab → · Contrast checker → · Palette generator →

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