#31918B#31918B

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

Color values

HEX#31918B
RGBrgb(49, 145, 139)
HSLhsl(176, 49%, 38%)
HSVhsv(176, 66%, 57%)
CMYKcmyk(66.2%, 0%, 4.1%, 43.1%)
CIE-LABlab(54.83, -28.94, -5.02)
CIE-LCHlch(54.83, 29.37, 189.83°)
OKLaboklab(59.99% -0.0872 -0.014)
OKLCHoklch(59.99% 0.088 189.2)
XYZxyz(16.0501, 22.7661, 27.9695)
Luminance0.2277 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31918B #913137
analogous
#31915B #31918B #316791
triadic
#31918B #8B3191 #918B31
tetradic
#31918B #5B3191 #913137 #679131
square
#31918B #5B3191 #913137 #679131
split-complementary
#31918B #913167 #915B31
monochromatic
#123633 #22635F #31918B #41BFB7 #6ECEC8

Accessibility & contrast

On white

3.78
#31918B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##31918B#FFFFFF#000000##000000
##31918B1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31918b;
/* rgb */ color: rgb(49, 145, 139);
/* oklch */ color: oklch(60.0% 0.088 189.2);
Tailwind
colors: {
  custom: {
    50: '#76b1ac',
    500: '#31918b',
    950: '#000000',
  },
}
SCSS
$custom: #31918b;
$custom-light: #76b1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#31918b",
  "rgb": {
    "r": 49,
    "g": 145,
    "b": 139
  },
  "hsl": {
    "h": 176.25,
    "s": 49.485,
    "l": 38.039
  },
  "oklch": {
    "l": 0.5999,
    "c": 0.0883,
    "h": 189.2
  },
  "luminance": 0.22768
}

Semantic roles & 50–950 ramp

primary
#31918B
secondary
#B6686D
accent
#4F57D9
background
#F7FAFA
surface
#EEF5F4
border
#C9CFCE
text
#0A1110
muted
#7C807F

Preview Lab

Preview with #31918B

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

Preview Lab → · Contrast checker → · Palette generator →

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