#31957C#31957C

#31957C is a mid, moderate teal. Relative luminance 0.236; OKLCH L 60.5% C 0.099 H 172.9°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#31957C
RGBrgb(49, 149, 124)
HSLhsl(165, 51%, 39%)
HSVhsv(165, 67%, 58%)
CMYKcmyk(67.1%, 0%, 16.8%, 41.6%)
CIE-LABlab(55.69, -34.94, 4.84)
CIE-LCHlch(55.69, 35.28, 172.11°)
OKLaboklab(60.55% -0.0987 0.0123)
OKLCHoklch(60.55% 0.099 172.9)
XYZxyz(15.6504, 23.6014, 22.7956)
Luminance0.2360 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31957C #95314A
analogous
#31954A #31957C #317C95
triadic
#31957C #7C3195 #957C31
tetradic
#31957C #4A3195 #95314A #7C9531
square
#31957C #4A3195 #95314A #7C9531
split-complementary
#31957C #95317C #954A31
monochromatic
#13392F #226756 #31957C #42C1A1 #70D0B8

Accessibility & contrast

On white

3.67
#31957C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#31957C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31957C
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31957C#FFFFFF#000000##000000
##31957C1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#908B7B
Deuteranopia (green-blind)
#82817E
Tritanopia (blue-blind)
#00968E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #31957c;
/* rgb */ color: rgb(49, 149, 124);
/* oklch */ color: oklch(60.5% 0.099 172.9);
Tailwind
colors: {
  custom: {
    50: '#76b5a1',
    500: '#31957c',
    950: '#000000',
  },
}
SCSS
$custom: #31957c;
$custom-light: #76b5a1;
$custom-dark: #000000;
JSON
{
  "hex": "#31957c",
  "rgb": {
    "r": 49,
    "g": 149,
    "b": 124
  },
  "hsl": {
    "h": 165,
    "s": 50.505,
    "l": 38.824
  },
  "oklch": {
    "l": 0.60548,
    "c": 0.09946,
    "h": 172.9
  },
  "luminance": 0.23603
}

Semantic roles & 50–950 ramp

primary
#31957C
secondary
#B86A7D
accent
#4E71DA
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#09110F
muted
#7B807E

Preview Lab

Preview with #31957C

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

Preview Lab → · Contrast checker → · Palette generator →

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