#31947A#31947A

#31947A is a mid, moderate teal. Relative luminance 0.232; OKLCH L 60.2% C 0.100 H 172.0°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#31947A
RGBrgb(49, 148, 122)
HSLhsl(164, 50%, 39%)
HSVhsv(164, 67%, 58%)
CMYKcmyk(66.9%, 0%, 17.6%, 42%)
CIE-LABlab(55.31, -35.00, 5.45)
CIE-LCHlch(55.31, 35.42, 171.15°)
OKLaboklab(60.23% -0.0986 0.0139)
OKLCHoklch(60.23% 0.1 172)
XYZxyz(15.3676, 23.2362, 22.0837)
Luminance0.2324 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31947A #94314B
analogous
#319448 #31947A #317C94
triadic
#31947A #7A3194 #947A31
tetradic
#31947A #483194 #94314B #7C9431
square
#31947A #483194 #94314B #7C9431
split-complementary
#31947A #94317C #944831
monochromatic
#13382E #226654 #31947A #42C09F #70D0B6

Accessibility & contrast

On white

3.72
#31947A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#31947A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31947A
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31947A#FFFFFF#000000##000000
##31947A1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8A79
Deuteranopia (green-blind)
#82807C
Tritanopia (blue-blind)
#00958C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #31947a;
/* rgb */ color: rgb(49, 148, 122);
/* oklch */ color: oklch(60.2% 0.100 172.0);
Tailwind
colors: {
  custom: {
    50: '#76b4a0',
    500: '#31947a',
    950: '#000000',
  },
}
SCSS
$custom: #31947a;
$custom-light: #76b4a0;
$custom-dark: #000000;
JSON
{
  "hex": "#31947a",
  "rgb": {
    "r": 49,
    "g": 148,
    "b": 122
  },
  "hsl": {
    "h": 164.242,
    "s": 50.254,
    "l": 38.627
  },
  "oklch": {
    "l": 0.60227,
    "c": 0.09956,
    "h": 172
  },
  "luminance": 0.23238
}

Semantic roles & 50–950 ramp

primary
#31947A
secondary
#B7697E
accent
#4E73DA
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#09110E
muted
#7B807E

Preview Lab

Preview with #31947A

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

Preview Lab → · Contrast checker → · Palette generator →

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