#31947F#31947F

#31947F is a mid, moderate teal. Relative luminance 0.234; OKLCH L 60.4% C 0.096 H 175.9°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#31947F
RGBrgb(49, 148, 127)
HSLhsl(167, 50%, 39%)
HSVhsv(167, 67%, 58%)
CMYKcmyk(66.9%, 0%, 14.2%, 42%)
CIE-LABlab(55.44, -33.70, 2.78)
CIE-LCHlch(55.44, 33.81, 175.29°)
OKLaboklab(60.38% -0.0961 0.0068)
OKLCHoklch(60.38% 0.096 175.9)
XYZxyz(15.6854, 23.3634, 23.7575)
Luminance0.2336 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31947F #943146
analogous
#31944D #31947F #317794
triadic
#31947F #7F3194 #947F31
tetradic
#31947F #4D3194 #943146 #779431
square
#31947F #4D3194 #943146 #779431
split-complementary
#31947F #943177 #944D31
monochromatic
#133830 #226658 #31947F #42C0A6 #70D0BB

Accessibility & contrast

On white

3.70
#31947F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#31947F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31947F
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31947F#FFFFFF#000000##000000
##31947F1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8B7E
Deuteranopia (green-blind)
#818181
Tritanopia (blue-blind)
#00968E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #31947f;
/* rgb */ color: rgb(49, 148, 127);
/* oklch */ color: oklch(60.4% 0.096 175.9);
Tailwind
colors: {
  custom: {
    50: '#76b4a4',
    500: '#31947f',
    950: '#000000',
  },
}
SCSS
$custom: #31947f;
$custom-light: #76b4a4;
$custom-dark: #000000;
JSON
{
  "hex": "#31947f",
  "rgb": {
    "r": 49,
    "g": 148,
    "b": 127
  },
  "hsl": {
    "h": 167.273,
    "s": 50.254,
    "l": 38.627
  },
  "oklch": {
    "l": 0.60376,
    "c": 0.09639,
    "h": 175.9
  },
  "luminance": 0.23365
}

Semantic roles & 50–950 ramp

primary
#31947F
secondary
#B7697A
accent
#4E6CDA
background
#F7FBFA
surface
#EEF6F4
border
#C9D0CE
text
#09110F
muted
#7B807F

Preview Lab

Preview with #31947F

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

Preview Lab → · Contrast checker → · Palette generator →

#31947F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva