#31907A#31907A

#31907A is a mid, moderate teal. Relative luminance 0.220; OKLCH L 59.2% C 0.095 H 174.5°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#31907A
RGBrgb(49, 144, 122)
HSLhsl(166, 49%, 38%)
HSVhsv(166, 66%, 56%)
CMYKcmyk(66%, 0%, 15.3%, 43.5%)
CIE-LABlab(54.03, -33.16, 3.60)
CIE-LCHlch(54.03, 33.35, 173.80°)
OKLaboklab(59.18% -0.0942 0.009)
OKLCHoklch(59.18% 0.095 174.5)
XYZxyz(14.7510, 22.0030, 21.8782)
Luminance0.2200 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31907A #903147
analogous
#31904A #31907A #317790
triadic
#31907A #7A3190 #907A31
tetradic
#31907A #4A3190 #903147 #779031
square
#31907A #4A3190 #903147 #779031
split-complementary
#31907A #903177 #904A31
monochromatic
#12352D #216253 #31907A #41BEA1 #6ECEB7

Accessibility & contrast

On white

3.89
#31907A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#31907A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31907A
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31907A#FFFFFF#000000##000000
##31907A1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B8779
Deuteranopia (green-blind)
#7E7D7C
Tritanopia (blue-blind)
#009289
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #31907a;
/* rgb */ color: rgb(49, 144, 122);
/* oklch */ color: oklch(59.2% 0.095 174.5);
Tailwind
colors: {
  custom: {
    50: '#75b1a0',
    500: '#31907a',
    950: '#000000',
  },
}
SCSS
$custom: #31907a;
$custom-light: #75b1a0;
$custom-dark: #000000;
JSON
{
  "hex": "#31907a",
  "rgb": {
    "r": 49,
    "g": 144,
    "b": 122
  },
  "hsl": {
    "h": 166.105,
    "s": 49.223,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59179,
    "c": 0.09463,
    "h": 174.5
  },
  "luminance": 0.22005
}

Semantic roles & 50–950 ramp

primary
#31907A
secondary
#B5687A
accent
#4F6FD9
background
#F7FAF9
surface
#EEF5F2
border
#C9CFCC
text
#09110E
muted
#7B807E

Preview Lab

Preview with #31907A

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

Preview Lab → · Contrast checker → · Palette generator →

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