#31827E#31827E

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

Color values

HEX#31827E
RGBrgb(49, 130, 126)
HSLhsl(177, 45%, 35%)
HSVhsv(177, 62%, 51%)
CMYKcmyk(62.3%, 0%, 3.1%, 49%)
CIE-LABlab(49.65, -25.25, -5.14)
CIE-LCHlch(49.65, 25.77, 191.51°)
OKLaboklab(55.65% -0.0766 -0.0143)
OKLCHoklch(55.65% 0.078 190.6)
XYZxyz(13.0135, 18.1232, 22.5469)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31827E #823135
analogous
#318255 #31827E #315D82
triadic
#31827E #7E3182 #827E31
tetradic
#31827E #553182 #823135 #5D8231
square
#31827E #553182 #823135 #5D8231
split-complementary
#31827E #82315D #825531
monochromatic
#0F2928 #205653 #31827E #42AEA9 #68C6C1

Accessibility & contrast

On white

4.54
#31827E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#31827E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31827E
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31827E#FFFFFF#000000##000000
##31827E1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B7B7E
Deuteranopia (green-blind)
#6E727F
Tritanopia (blue-blind)
#008581
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #31827e;
/* rgb */ color: rgb(49, 130, 126);
/* oklch */ color: oklch(55.7% 0.078 190.6);
Tailwind
colors: {
  custom: {
    50: '#73a6a3',
    500: '#31827e',
    950: '#000000',
  },
}
SCSS
$custom: #31827e;
$custom-light: #73a6a3;
$custom-dark: #000000;
JSON
{
  "hex": "#31827e",
  "rgb": {
    "r": 49,
    "g": 130,
    "b": 126
  },
  "hsl": {
    "h": 177.037,
    "s": 45.251,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55653,
    "c": 0.07792,
    "h": 190.6
  },
  "luminance": 0.18125
}

Semantic roles & 50–950 ramp

primary
#31827E
secondary
#AD6265
accent
#5359D5
background
#F7FAFA
surface
#EDF4F3
border
#C8CECD
text
#090F0F
muted
#7B7F7F

Preview Lab

Preview with #31827E

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

Preview Lab → · Contrast checker → · Palette generator →

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