#31947E#31947E

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

Color values

HEX#31947E
RGBrgb(49, 148, 126)
HSLhsl(167, 50%, 39%)
HSVhsv(167, 67%, 58%)
CMYKcmyk(66.9%, 0%, 14.9%, 42%)
CIE-LABlab(55.42, -33.96, 3.31)
CIE-LCHlch(55.42, 34.12, 174.43°)
OKLaboklab(60.35% -0.0966 0.0083)
OKLCHoklch(60.35% 0.097 175.1)
XYZxyz(15.6206, 23.3374, 23.4160)
Luminance0.2334 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31947E #943147
analogous
#31944C #31947E #317894
triadic
#31947E #7E3194 #947E31
tetradic
#31947E #4C3194 #943147 #789431
square
#31947E #4C3194 #943147 #789431
split-complementary
#31947E #943178 #944C31
monochromatic
#133830 #226657 #31947E #42C0A4 #70D0BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31947E#FFFFFF#000000##000000
##31947E1.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8B7D
Deuteranopia (green-blind)
#818080
Tritanopia (blue-blind)
#00968D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #31947e;
/* rgb */ color: rgb(49, 148, 126);
/* oklch */ color: oklch(60.3% 0.097 175.1);
Tailwind
colors: {
  custom: {
    50: '#76b4a3',
    500: '#31947e',
    950: '#000000',
  },
}
SCSS
$custom: #31947e;
$custom-light: #76b4a3;
$custom-dark: #000000;
JSON
{
  "hex": "#31947e",
  "rgb": {
    "r": 49,
    "g": 148,
    "b": 126
  },
  "hsl": {
    "h": 166.667,
    "s": 50.254,
    "l": 38.627
  },
  "oklch": {
    "l": 0.60346,
    "c": 0.09699,
    "h": 175.1
  },
  "luminance": 0.23339
}

Semantic roles & 50–950 ramp

primary
#31947E
secondary
#B7697B
accent
#4E6DDA
background
#F7FBFA
surface
#EEF6F3
border
#C9D0CD
text
#09110F
muted
#7B807F

Preview Lab

Preview with #31947E

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

Preview Lab → · Contrast checker → · Palette generator →

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