#31998E#31998E

#31998E is a light, moderate teal. Relative luminance 0.254; OKLCH L 62.1% C 0.095 H 185.0°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#31998E
RGBrgb(49, 153, 142)
HSLhsl(174, 51%, 40%)
HSVhsv(174, 68%, 60%)
CMYKcmyk(68%, 0%, 7.2%, 40%)
CIE-LABlab(57.45, -31.94, -2.87)
CIE-LCHlch(57.45, 32.07, 185.13°)
OKLaboklab(62.15% -0.0944 -0.0083)
OKLCHoklch(62.15% 0.095 185)
XYZxyz(17.5381, 25.3865, 29.5617)
Luminance0.2539 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31998E #99313C
analogous
#31995A #31998E #317099
triadic
#31998E #8E3199 #998E31
tetradic
#31998E #5A3199 #99313C #709931
square
#31998E #5A3199 #99313C #709931
split-complementary
#31998E #993170 #995A31
monochromatic
#133C38 #226B63 #31998E #44C3B6 #72D2C8

Accessibility & contrast

On white

3.46
#31998E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#31998E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31998E
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31998E#FFFFFF#000000##000000
##31998E1.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#91908E
Deuteranopia (green-blind)
#82858F
Tritanopia (blue-blind)
#009C95
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #31998e;
/* rgb */ color: rgb(49, 153, 142);
/* oklch */ color: oklch(62.1% 0.095 185.0);
Tailwind
colors: {
  custom: {
    50: '#78b7af',
    500: '#31998e',
    950: '#000000',
  },
}
SCSS
$custom: #31998e;
$custom-light: #78b7af;
$custom-dark: #000000;
JSON
{
  "hex": "#31998e",
  "rgb": {
    "r": 49,
    "g": 153,
    "b": 142
  },
  "hsl": {
    "h": 173.654,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.62147,
    "c": 0.09475,
    "h": 185
  },
  "luminance": 0.25388
}

Semantic roles & 50–950 ramp

primary
#31998E
secondary
#BA6C74
accent
#4D5CDB
background
#F7FBFA
surface
#EEF6F4
border
#C9D0CE
text
#0A1110
muted
#7C807F

Preview Lab

Preview with #31998E

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

Preview Lab → · Contrast checker → · Palette generator →

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