#31998B#31998B

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

Color values

HEX#31998B
RGBrgb(49, 153, 139)
HSLhsl(172, 51%, 40%)
HSVhsv(172, 68%, 60%)
CMYKcmyk(68%, 0%, 9.2%, 40%)
CIE-LABlab(57.36, -32.78, -1.28)
CIE-LCHlch(57.36, 32.80, 182.24°)
OKLaboklab(62.05% -0.0958 -0.004)
OKLCHoklch(62.05% 0.096 182.4)
XYZxyz(17.3159, 25.2976, 28.3914)
Luminance0.2530 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31998B #99313F
analogous
#319957 #31998B #317399
triadic
#31998B #8B3199 #998B31
tetradic
#31998B #573199 #99313F #739931
square
#31998B #573199 #99313F #739931
split-complementary
#31998B #993173 #995731
monochromatic
#133C37 #226B61 #31998B #44C3B2 #72D2C5

Accessibility & contrast

On white

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

On black

6.06
#31998B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31998B
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31998B#FFFFFF#000000##000000
##31998B1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#92908A
Deuteranopia (green-blind)
#83858C
Tritanopia (blue-blind)
#009C95
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #31998b;
/* rgb */ color: rgb(49, 153, 139);
/* oklch */ color: oklch(62.0% 0.096 182.4);
Tailwind
colors: {
  custom: {
    50: '#77b7ac',
    500: '#31998b',
    950: '#000000',
  },
}
SCSS
$custom: #31998b;
$custom-light: #77b7ac;
$custom-dark: #000000;
JSON
{
  "hex": "#31998b",
  "rgb": {
    "r": 49,
    "g": 153,
    "b": 139
  },
  "hsl": {
    "h": 171.923,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.62049,
    "c": 0.09589,
    "h": 182.4
  },
  "luminance": 0.253
}

Semantic roles & 50–950 ramp

primary
#31998B
secondary
#BA6C76
accent
#4D60DB
background
#F7FBFA
surface
#EEF6F4
border
#C9D0CE
text
#0A1110
muted
#7C807F

Preview Lab

Preview with #31998B

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

Preview Lab → · Contrast checker → · Palette generator →

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