#31998A#31998A

#31998A is a light, moderate teal. Relative luminance 0.253; OKLCH L 62.0% C 0.096 H 181.5°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#31998A
RGBrgb(49, 153, 138)
HSLhsl(171, 51%, 40%)
HSVhsv(171, 68%, 60%)
CMYKcmyk(68%, 0%, 9.8%, 40%)
CIE-LABlab(57.34, -33.05, -0.75)
CIE-LCHlch(57.34, 33.06, 181.31°)
OKLaboklab(62.02% -0.0963 -0.0026)
OKLCHoklch(62.02% 0.096 181.5)
XYZxyz(17.2431, 25.2685, 28.0084)
Luminance0.2527 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31998A #993140
analogous
#319956 #31998A #317499
triadic
#31998A #8A3199 #998A31
tetradic
#31998A #563199 #993140 #749931
square
#31998A #563199 #993140 #749931
split-complementary
#31998A #993174 #995631
monochromatic
#133C36 #226B60 #31998A #44C3B1 #72D2C4

Accessibility & contrast

On white

3.47
#31998A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#31998A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31998A
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31998A#FFFFFF#000000##000000
##31998A1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#929089
Deuteranopia (green-blind)
#83858B
Tritanopia (blue-blind)
#009C94
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #31998a;
/* rgb */ color: rgb(49, 153, 138);
/* oklch */ color: oklch(62.0% 0.096 181.5);
Tailwind
colors: {
  custom: {
    50: '#77b7ac',
    500: '#31998a',
    950: '#000000',
  },
}
SCSS
$custom: #31998a;
$custom-light: #77b7ac;
$custom-dark: #000000;
JSON
{
  "hex": "#31998a",
  "rgb": {
    "r": 49,
    "g": 153,
    "b": 138
  },
  "hsl": {
    "h": 171.346,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.62017,
    "c": 0.09631,
    "h": 181.5
  },
  "luminance": 0.2527
}

Semantic roles & 50–950 ramp

primary
#31998A
secondary
#BA6C77
accent
#4D61DB
background
#F7FBFA
surface
#EEF6F4
border
#C9D0CE
text
#0A1110
muted
#7C807F

Preview Lab

Preview with #31998A

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

Preview Lab → · Contrast checker → · Palette generator →

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