#31827D#31827D

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

Color values

HEX#31827D
RGBrgb(49, 130, 125)
HSLhsl(176, 45%, 35%)
HSVhsv(176, 62%, 51%)
CMYKcmyk(62.3%, 0%, 3.8%, 49%)
CIE-LABlab(49.61, -25.54, -4.60)
CIE-LCHlch(49.61, 25.95, 190.21°)
OKLaboklab(55.62% -0.0771 -0.0129)
OKLCHoklch(55.62% 0.078 189.5)
XYZxyz(12.9493, 18.0975, 22.2088)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31827D #823136
analogous
#318254 #31827D #315F82
triadic
#31827D #7D3182 #827D31
tetradic
#31827D #543182 #823136 #5F8231
square
#31827D #543182 #823136 #5F8231
split-complementary
#31827D #82315F #825431
monochromatic
#0F2928 #205652 #31827D #42AEA8 #68C6C0

Accessibility & contrast

On white

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

On black

4.62
#31827D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31827D
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31827D#FFFFFF#000000##000000
##31827D1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31827d;
/* rgb */ color: rgb(49, 130, 125);
/* oklch */ color: oklch(55.6% 0.078 189.5);
Tailwind
colors: {
  custom: {
    50: '#73a6a2',
    500: '#31827d',
    950: '#000000',
  },
}
SCSS
$custom: #31827d;
$custom-light: #73a6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#31827d",
  "rgb": {
    "r": 49,
    "g": 130,
    "b": 125
  },
  "hsl": {
    "h": 176.296,
    "s": 45.251,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55617,
    "c": 0.07813,
    "h": 189.5
  },
  "luminance": 0.18099
}

Semantic roles & 50–950 ramp

primary
#31827D
secondary
#AD6266
accent
#535BD5
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#090F0F
muted
#7B7F7E

Preview Lab

Preview with #31827D

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

Preview Lab → · Contrast checker → · Palette generator →

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