#31827C#31827C

#31827C is a mid, moderate teal. Relative luminance 0.181; OKLCH L 55.6% C 0.078 H 188.4°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#31827C
RGBrgb(49, 130, 124)
HSLhsl(176, 45%, 35%)
HSVhsv(176, 62%, 51%)
CMYKcmyk(62.3%, 0%, 4.6%, 49%)
CIE-LABlab(49.58, -25.83, -4.06)
CIE-LCHlch(49.58, 26.15, 188.93°)
OKLaboklab(55.58% -0.0775 -0.0114)
OKLCHoklch(55.58% 0.078 188.4)
XYZxyz(12.8857, 18.0721, 21.8741)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31827C #823137
analogous
#318254 #31827C #315F82
triadic
#31827C #7C3182 #827C31
tetradic
#31827C #543182 #823137 #5F8231
square
#31827C #543182 #823137 #5F8231
split-complementary
#31827C #82315F #825431
monochromatic
#0F2927 #205652 #31827C #42AEA6 #68C6BF

Accessibility & contrast

On white

4.55
#31827C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#31827C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31827C
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31827C#FFFFFF#000000##000000
##31827C1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B7B7C
Deuteranopia (green-blind)
#6F727D
Tritanopia (blue-blind)
#008580
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #31827c;
/* rgb */ color: rgb(49, 130, 124);
/* oklch */ color: oklch(55.6% 0.078 188.4);
Tailwind
colors: {
  custom: {
    50: '#73a6a1',
    500: '#31827c',
    950: '#000000',
  },
}
SCSS
$custom: #31827c;
$custom-light: #73a6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#31827c",
  "rgb": {
    "r": 49,
    "g": 130,
    "b": 124
  },
  "hsl": {
    "h": 175.556,
    "s": 45.251,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55582,
    "c": 0.07836,
    "h": 188.4
  },
  "luminance": 0.18073
}

Semantic roles & 50–950 ramp

primary
#31827C
secondary
#AD6267
accent
#535CD5
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#090F0F
muted
#7B7F7E

Preview Lab

Preview with #31827C

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

Preview Lab → · Contrast checker → · Palette generator →

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