#31956B#31956B

#31956B is a mid, moderate teal. Relative luminance 0.232; OKLCH L 60.1% C 0.113 H 161.7°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#31956B
RGBrgb(49, 149, 107)
HSLhsl(155, 51%, 39%)
HSVhsv(155, 67%, 58%)
CMYKcmyk(67.1%, 0%, 28.2%, 41.6%)
CIE-LABlab(55.29, -39.08, 13.93)
CIE-LCHlch(55.29, 41.49, 160.38°)
OKLaboklab(60.09% -0.1071 0.0355)
OKLCHoklch(60.09% 0.113 161.7)
XYZxyz(14.6664, 23.2078, 17.6137)
Luminance0.2321 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31956B #95315B
analogous
#319539 #31956B #318D95
triadic
#31956B #6B3195 #956B31
tetradic
#31956B #393195 #95315B #8D9531
square
#31956B #393195 #95315B #8D9531
split-complementary
#31956B #95318D #953931
monochromatic
#133929 #22674A #31956B #42C18C #70D0A8

Accessibility & contrast

On white

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

On black

5.64
#31956B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31956B
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31956B#FFFFFF#000000##000000
##31956B1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938A69
Deuteranopia (green-blind)
#85816E
Tritanopia (blue-blind)
#00958A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #31956b;
/* rgb */ color: rgb(49, 149, 107);
/* oklch */ color: oklch(60.1% 0.113 161.7);
Tailwind
colors: {
  custom: {
    50: '#75b595',
    500: '#31956b',
    950: '#000000',
  },
}
SCSS
$custom: #31956b;
$custom-light: #75b595;
$custom-dark: #000000;
JSON
{
  "hex": "#31956b",
  "rgb": {
    "r": 49,
    "g": 149,
    "b": 107
  },
  "hsl": {
    "h": 154.8,
    "s": 50.505,
    "l": 38.824
  },
  "oklch": {
    "l": 0.60087,
    "c": 0.11279,
    "h": 161.7
  },
  "luminance": 0.23209
}

Semantic roles & 50–950 ramp

primary
#31956B
secondary
#B86A8B
accent
#4E89DA
background
#F7FBF9
surface
#EEF6F1
border
#C9D0CB
text
#09110D
muted
#7B807E

Preview Lab

Preview with #31956B

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

Preview Lab → · Contrast checker → · Palette generator →

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