#31918E#31918E

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

Color values

HEX#31918E
RGBrgb(49, 145, 142)
HSLhsl(178, 49%, 38%)
HSVhsv(178, 66%, 57%)
CMYKcmyk(66.2%, 0%, 2.1%, 43.1%)
CIE-LABlab(54.92, -28.07, -6.61)
CIE-LCHlch(54.92, 28.83, 193.24°)
OKLaboklab(60.1% -0.0858 -0.0184)
OKLCHoklch(60.1% 0.088 192.1)
XYZxyz(16.2723, 22.8550, 29.1398)
Luminance0.2286 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31918E #913134
analogous
#31915E #31918E #316491
triadic
#31918E #8E3191 #918E31
tetradic
#31918E #5E3191 #913134 #649131
square
#31918E #5E3191 #913134 #649131
split-complementary
#31918E #913164 #915E31
monochromatic
#123634 #226361 #31918E #41BFBB #6ECECB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31918E#FFFFFF#000000##000000
##31918E1.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)
#888A8E
Deuteranopia (green-blind)
#7A7F8F
Tritanopia (blue-blind)
#009590
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #31918e;
/* rgb */ color: rgb(49, 145, 142);
/* oklch */ color: oklch(60.1% 0.088 192.1);
Tailwind
colors: {
  custom: {
    50: '#77b1af',
    500: '#31918e',
    950: '#000000',
  },
}
SCSS
$custom: #31918e;
$custom-light: #77b1af;
$custom-dark: #000000;
JSON
{
  "hex": "#31918e",
  "rgb": {
    "r": 49,
    "g": 145,
    "b": 142
  },
  "hsl": {
    "h": 178.125,
    "s": 49.485,
    "l": 38.039
  },
  "oklch": {
    "l": 0.60095,
    "c": 0.08772,
    "h": 192.1
  },
  "luminance": 0.22857
}

Semantic roles & 50–950 ramp

primary
#31918E
secondary
#B6686A
accent
#4F53D9
background
#F7FAFA
surface
#EEF5F4
border
#C9CFCE
text
#0A1110
muted
#7C807F

Preview Lab

Preview with #31918E

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

Preview Lab → · Contrast checker → · Palette generator →

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