#31998D#31998D

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

Color values

HEX#31998D
RGBrgb(49, 153, 141)
HSLhsl(173, 51%, 40%)
HSVhsv(173, 68%, 60%)
CMYKcmyk(68%, 0%, 7.8%, 40%)
CIE-LABlab(57.42, -32.22, -2.34)
CIE-LCHlch(57.42, 32.31, 184.15°)
OKLaboklab(62.11% -0.0949 -0.0068)
OKLCHoklch(62.11% 0.095 184.1)
XYZxyz(17.4633, 25.3566, 29.1681)
Luminance0.2536 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31998D #99313D
analogous
#319959 #31998D #317199
triadic
#31998D #8D3199 #998D31
tetradic
#31998D #593199 #99313D #719931
square
#31998D #593199 #99313D #719931
split-complementary
#31998D #993171 #995931
monochromatic
#133C38 #226B62 #31998D #44C3B4 #72D2C7

Accessibility & contrast

On white

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

On black

6.07
#31998D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31998D
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31998D#FFFFFF#000000##000000
##31998D1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31998d;
/* rgb */ color: rgb(49, 153, 141);
/* oklch */ color: oklch(62.1% 0.095 184.1);
Tailwind
colors: {
  custom: {
    50: '#78b7ae',
    500: '#31998d',
    950: '#000000',
  },
}
SCSS
$custom: #31998d;
$custom-light: #78b7ae;
$custom-dark: #000000;
JSON
{
  "hex": "#31998d",
  "rgb": {
    "r": 49,
    "g": 153,
    "b": 141
  },
  "hsl": {
    "h": 173.077,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.62114,
    "c": 0.09511,
    "h": 184.1
  },
  "luminance": 0.25359
}

Semantic roles & 50–950 ramp

primary
#31998D
secondary
#BA6C75
accent
#4D5DDB
background
#F7FBFA
surface
#EEF6F4
border
#C9D0CE
text
#0A1110
muted
#7C807F

Preview Lab

Preview with #31998D

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

Preview Lab → · Contrast checker → · Palette generator →

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