#31908C#31908C

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

Color values

HEX#31908C
RGBrgb(49, 144, 140)
HSLhsl(177, 49%, 38%)
HSVhsv(177, 66%, 56%)
CMYKcmyk(66%, 0%, 2.8%, 43.5%)
CIE-LABlab(54.54, -28.16, -6.02)
CIE-LCHlch(54.54, 28.79, 192.06°)
OKLaboklab(59.77% -0.0856 -0.0168)
OKLCHoklch(59.77% 0.087 191.1)
XYZxyz(15.9714, 22.4912, 28.3054)
Luminance0.2249 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31908C #903135
analogous
#31905D #31908C #316490
triadic
#31908C #8C3190 #908C31
tetradic
#31908C #5D3190 #903135 #649031
square
#31908C #5D3190 #903135 #649031
split-complementary
#31908C #903164 #905D31
monochromatic
#123533 #216260 #31908C #41BEB8 #6ECECA

Accessibility & contrast

On white

3.82
#31908C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##31908C#FFFFFF#000000##000000
##31908C1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#88898C
Deuteranopia (green-blind)
#797E8D
Tritanopia (blue-blind)
#00948F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #31908c;
/* rgb */ color: rgb(49, 144, 140);
/* oklch */ color: oklch(59.8% 0.087 191.1);
Tailwind
colors: {
  custom: {
    50: '#76b1ad',
    500: '#31908c',
    950: '#000000',
  },
}
SCSS
$custom: #31908c;
$custom-light: #76b1ad;
$custom-dark: #000000;
JSON
{
  "hex": "#31908c",
  "rgb": {
    "r": 49,
    "g": 144,
    "b": 140
  },
  "hsl": {
    "h": 177.474,
    "s": 49.223,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59768,
    "c": 0.08724,
    "h": 191.1
  },
  "luminance": 0.22493
}

Semantic roles & 50–950 ramp

primary
#31908C
secondary
#B5686B
accent
#4F55D9
background
#F7FAFA
surface
#EEF5F4
border
#C9CFCE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #31908C

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

Preview Lab → · Contrast checker → · Palette generator →

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