#31918D#31918D

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

Color values

HEX#31918D
RGBrgb(49, 145, 141)
HSLhsl(178, 49%, 38%)
HSVhsv(178, 66%, 57%)
CMYKcmyk(66.2%, 0%, 2.8%, 43.1%)
CIE-LABlab(54.89, -28.36, -6.08)
CIE-LCHlch(54.89, 29.00, 192.09°)
OKLaboklab(60.06% -0.0862 -0.0169)
OKLCHoklch(60.06% 0.088 191.1)
XYZxyz(16.1976, 22.8251, 28.7462)
Luminance0.2283 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31918D #913135
analogous
#31915D #31918D #316591
triadic
#31918D #8D3191 #918D31
tetradic
#31918D #5D3191 #913135 #659131
square
#31918D #5D3191 #913135 #659131
split-complementary
#31918D #913165 #915D31
monochromatic
#123634 #226361 #31918D #41BFB9 #6ECECA

Accessibility & contrast

On white

3.77
#31918D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#31918D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31918D
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31918D#FFFFFF#000000##000000
##31918D1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#888A8D
Deuteranopia (green-blind)
#7A7F8E
Tritanopia (blue-blind)
#009590
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #31918d;
/* rgb */ color: rgb(49, 145, 141);
/* oklch */ color: oklch(60.1% 0.088 191.1);
Tailwind
colors: {
  custom: {
    50: '#76b1ae',
    500: '#31918d',
    950: '#000000',
  },
}
SCSS
$custom: #31918d;
$custom-light: #76b1ae;
$custom-dark: #000000;
JSON
{
  "hex": "#31918d",
  "rgb": {
    "r": 49,
    "g": 145,
    "b": 141
  },
  "hsl": {
    "h": 177.5,
    "s": 49.485,
    "l": 38.039
  },
  "oklch": {
    "l": 0.6006,
    "c": 0.08789,
    "h": 191.1
  },
  "luminance": 0.22827
}

Semantic roles & 50–950 ramp

primary
#31918D
secondary
#B6686B
accent
#4F55D9
background
#F7FAFA
surface
#EEF5F4
border
#C9CFCE
text
#0A1110
muted
#7C807F

Preview Lab

Preview with #31918D

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

Preview Lab → · Contrast checker → · Palette generator →

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