#31998F#31998F

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

Color values

HEX#31998F
RGBrgb(49, 153, 143)
HSLhsl(174, 51%, 40%)
HSVhsv(174, 68%, 60%)
CMYKcmyk(68%, 0%, 6.5%, 40%)
CIE-LABlab(57.48, -31.66, -3.39)
CIE-LCHlch(57.48, 31.84, 186.12°)
OKLaboklab(62.18% -0.0939 -0.0097)
OKLCHoklch(62.18% 0.094 185.9)
XYZxyz(17.6135, 25.4166, 29.9589)
Luminance0.2542 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31998F #99313B
analogous
#31995B #31998F #316F99
triadic
#31998F #8F3199 #998F31
tetradic
#31998F #5B3199 #99313B #6F9931
square
#31998F #5B3199 #99313B #6F9931
split-complementary
#31998F #99316F #995B31
monochromatic
#133C38 #226B64 #31998F #44C3B7 #72D2C9

Accessibility & contrast

On white

3.45
#31998F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##31998F#FFFFFF#000000##000000
##31998F1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#91918F
Deuteranopia (green-blind)
#828590
Tritanopia (blue-blind)
#009C96
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #31998f;
/* rgb */ color: rgb(49, 153, 143);
/* oklch */ color: oklch(62.2% 0.094 185.9);
Tailwind
colors: {
  custom: {
    50: '#78b7af',
    500: '#31998f',
    950: '#000000',
  },
}
SCSS
$custom: #31998f;
$custom-light: #78b7af;
$custom-dark: #000000;
JSON
{
  "hex": "#31998f",
  "rgb": {
    "r": 49,
    "g": 153,
    "b": 143
  },
  "hsl": {
    "h": 174.231,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.62181,
    "c": 0.09442,
    "h": 185.9
  },
  "luminance": 0.25419
}

Semantic roles & 50–950 ramp

primary
#31998F
secondary
#BA6C73
accent
#4D5BDB
background
#F7FBFA
surface
#EEF6F4
border
#C9D0CE
text
#0A1110
muted
#7C807F

Preview Lab

Preview with #31998F

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

Preview Lab → · Contrast checker → · Palette generator →

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