#31947C#31947C

#31947C is a mid, moderate teal. Relative luminance 0.233; OKLCH L 60.3% C 0.098 H 173.5°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#31947C
RGBrgb(49, 148, 124)
HSLhsl(165, 50%, 39%)
HSVhsv(165, 67%, 58%)
CMYKcmyk(66.9%, 0%, 16.2%, 42%)
CIE-LABlab(55.37, -34.48, 4.38)
CIE-LCHlch(55.37, 34.76, 172.76°)
OKLaboklab(60.29% -0.0976 0.0111)
OKLCHoklch(60.29% 0.098 173.5)
XYZxyz(15.4928, 23.2863, 22.7431)
Luminance0.2329 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31947C #943149
analogous
#31944A #31947C #317A94
triadic
#31947C #7C3194 #947C31
tetradic
#31947C #4A3194 #943149 #7A9431
square
#31947C #4A3194 #943149 #7A9431
split-complementary
#31947C #94317A #944A31
monochromatic
#13382F #226655 #31947C #42C0A2 #70D0B8

Accessibility & contrast

On white

3.71
#31947C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#31947C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31947C
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31947C#FFFFFF#000000##000000
##31947C1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8B7B
Deuteranopia (green-blind)
#81807E
Tritanopia (blue-blind)
#00968D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #31947c;
/* rgb */ color: rgb(49, 148, 124);
/* oklch */ color: oklch(60.3% 0.098 173.5);
Tailwind
colors: {
  custom: {
    50: '#76b4a1',
    500: '#31947c',
    950: '#000000',
  },
}
SCSS
$custom: #31947c;
$custom-light: #76b4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#31947c",
  "rgb": {
    "r": 49,
    "g": 148,
    "b": 124
  },
  "hsl": {
    "h": 165.455,
    "s": 50.254,
    "l": 38.627
  },
  "oklch": {
    "l": 0.60286,
    "c": 0.09823,
    "h": 173.5
  },
  "luminance": 0.23288
}

Semantic roles & 50–950 ramp

primary
#31947C
secondary
#B7697C
accent
#4E70DA
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#09110F
muted
#7B807E

Preview Lab

Preview with #31947C

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

Preview Lab → · Contrast checker → · Palette generator →

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