#31947B#31947B

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

Color values

HEX#31947B
RGBrgb(49, 148, 123)
HSLhsl(165, 50%, 39%)
HSVhsv(165, 67%, 58%)
CMYKcmyk(66.9%, 0%, 16.9%, 42%)
CIE-LABlab(55.34, -34.74, 4.91)
CIE-LCHlch(55.34, 35.09, 171.95°)
OKLaboklab(60.26% -0.0981 0.0124)
OKLCHoklch(60.26% 0.099 172.8)
XYZxyz(15.4299, 23.2612, 22.4117)
Luminance0.2326 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31947B #94314A
analogous
#319449 #31947B #317B94
triadic
#31947B #7B3194 #947B31
tetradic
#31947B #493194 #94314A #7B9431
square
#31947B #493194 #94314A #7B9431
split-complementary
#31947B #94317B #944931
monochromatic
#13382F #226655 #31947B #42C0A0 #70D0B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31947B#FFFFFF#000000##000000
##31947B1.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)
#8F8A7A
Deuteranopia (green-blind)
#81807D
Tritanopia (blue-blind)
#00958D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #31947b;
/* rgb */ color: rgb(49, 148, 123);
/* oklch */ color: oklch(60.3% 0.099 172.8);
Tailwind
colors: {
  custom: {
    50: '#76b4a1',
    500: '#31947b',
    950: '#000000',
  },
}
SCSS
$custom: #31947b;
$custom-light: #76b4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#31947b",
  "rgb": {
    "r": 49,
    "g": 148,
    "b": 123
  },
  "hsl": {
    "h": 164.848,
    "s": 50.254,
    "l": 38.627
  },
  "oklch": {
    "l": 0.60256,
    "c": 0.09889,
    "h": 172.8
  },
  "luminance": 0.23263
}

Semantic roles & 50–950 ramp

primary
#31947B
secondary
#B7697D
accent
#4E71DA
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#09110E
muted
#7B807E

Preview Lab

Preview with #31947B

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

Preview Lab → · Contrast checker → · Palette generator →

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