#31827A#31827A

#31827A is a mid, moderate teal. Relative luminance 0.180; OKLCH L 55.5% C 0.079 H 186.2°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#31827A
RGBrgb(49, 130, 122)
HSLhsl(174, 45%, 35%)
HSVhsv(174, 62%, 51%)
CMYKcmyk(62.3%, 0%, 6.2%, 49%)
CIE-LABlab(49.52, -26.40, -2.98)
CIE-LCHlch(49.52, 26.57, 186.43°)
OKLaboklab(55.51% -0.0785 -0.0085)
OKLCHoklch(55.51% 0.079 186.2)
XYZxyz(12.7605, 18.0220, 21.2147)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31827A #823139
analogous
#318251 #31827A #316182
triadic
#31827A #7A3182 #827A31
tetradic
#31827A #513182 #823139 #618231
square
#31827A #513182 #823139 #618231
split-complementary
#31827A #823161 #825131
monochromatic
#0F2927 #205650 #31827A #42AEA4 #68C6BD

Accessibility & contrast

On white

4.56
#31827A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#31827A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31827A
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31827A#FFFFFF#000000##000000
##31827A1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B7B7A
Deuteranopia (green-blind)
#6F727B
Tritanopia (blue-blind)
#00857F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #31827a;
/* rgb */ color: rgb(49, 130, 122);
/* oklch */ color: oklch(55.5% 0.079 186.2);
Tailwind
colors: {
  custom: {
    50: '#73a6a0',
    500: '#31827a',
    950: '#000000',
  },
}
SCSS
$custom: #31827a;
$custom-light: #73a6a0;
$custom-dark: #000000;
JSON
{
  "hex": "#31827a",
  "rgb": {
    "r": 49,
    "g": 130,
    "b": 122
  },
  "hsl": {
    "h": 174.074,
    "s": 45.251,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55513,
    "c": 0.07893,
    "h": 186.2
  },
  "luminance": 0.18023
}

Semantic roles & 50–950 ramp

primary
#31827A
secondary
#AD6269
accent
#5360D5
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#090F0E
muted
#7B7F7E

Preview Lab

Preview with #31827A

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

Preview Lab → · Contrast checker → · Palette generator →

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