#31918A#31918A

#31918A is a mid, moderate teal. Relative luminance 0.227; OKLCH L 60.0% C 0.089 H 188.2°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#31918A
RGBrgb(49, 145, 138)
HSLhsl(176, 49%, 38%)
HSVhsv(176, 66%, 57%)
CMYKcmyk(66.2%, 0%, 4.8%, 43.1%)
CIE-LABlab(54.80, -29.23, -4.48)
CIE-LCHlch(54.80, 29.57, 188.72°)
OKLaboklab(59.96% -0.0876 -0.0126)
OKLCHoklch(59.96% 0.089 188.2)
XYZxyz(15.9774, 22.7370, 27.5865)
Luminance0.2274 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31918A #913138
analogous
#31915A #31918A #316891
triadic
#31918A #8A3191 #918A31
tetradic
#31918A #5A3191 #913138 #689131
square
#31918A #5A3191 #913138 #689131
split-complementary
#31918A #913168 #915A31
monochromatic
#123633 #22635E #31918A #41BFB5 #6ECEC7

Accessibility & contrast

On white

3.79
#31918A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#31918A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31918A
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31918A#FFFFFF#000000##000000
##31918A1.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#89898A
Deuteranopia (green-blind)
#7B7F8B
Tritanopia (blue-blind)
#00958F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #31918a;
/* rgb */ color: rgb(49, 145, 138);
/* oklch */ color: oklch(60.0% 0.089 188.2);
Tailwind
colors: {
  custom: {
    50: '#76b1ac',
    500: '#31918a',
    950: '#000000',
  },
}
SCSS
$custom: #31918a;
$custom-light: #76b1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#31918a",
  "rgb": {
    "r": 49,
    "g": 145,
    "b": 138
  },
  "hsl": {
    "h": 175.625,
    "s": 49.485,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59955,
    "c": 0.08853,
    "h": 188.2
  },
  "luminance": 0.22739
}

Semantic roles & 50–950 ramp

primary
#31918A
secondary
#B6686E
accent
#4F59D9
background
#F7FBFA
surface
#EEF6F4
border
#C9D0CE
text
#091110
muted
#7B807F

Preview Lab

Preview with #31918A

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

Preview Lab → · Contrast checker → · Palette generator →

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