#31827F#31827F

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

Color values

HEX#31827F
RGBrgb(49, 130, 127)
HSLhsl(178, 45%, 35%)
HSVhsv(178, 62%, 51%)
CMYKcmyk(62.3%, 0%, 2.3%, 49%)
CIE-LABlab(49.68, -24.96, -5.68)
CIE-LCHlch(49.68, 25.60, 192.83°)
OKLaboklab(55.69% -0.0761 -0.0158)
OKLCHoklch(55.69% 0.078 191.7)
XYZxyz(13.0783, 18.1492, 22.8885)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31827F #823134
analogous
#318257 #31827F #315C82
triadic
#31827F #7F3182 #827F31
tetradic
#31827F #573182 #823134 #5C8231
square
#31827F #573182 #823134 #5C8231
split-complementary
#31827F #82315C #825731
monochromatic
#0F2928 #205654 #31827F #42AEAA #68C6C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31827F#FFFFFF#000000##000000
##31827F1.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)
#7A7C7F
Deuteranopia (green-blind)
#6E7280
Tritanopia (blue-blind)
#008681
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #31827f;
/* rgb */ color: rgb(49, 130, 127);
/* oklch */ color: oklch(55.7% 0.078 191.7);
Tailwind
colors: {
  custom: {
    50: '#73a6a4',
    500: '#31827f',
    950: '#000000',
  },
}
SCSS
$custom: #31827f;
$custom-light: #73a6a4;
$custom-dark: #000000;
JSON
{
  "hex": "#31827f",
  "rgb": {
    "r": 49,
    "g": 130,
    "b": 127
  },
  "hsl": {
    "h": 177.778,
    "s": 45.251,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55688,
    "c": 0.07775,
    "h": 191.7
  },
  "luminance": 0.18151
}

Semantic roles & 50–950 ramp

primary
#31827F
secondary
#AD6264
accent
#5358D5
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#090F0F
muted
#7B7F7F

Preview Lab

Preview with #31827F

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

Preview Lab → · Contrast checker → · Palette generator →

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