#31836E#31836E

#31836E is a mid, moderate teal. Relative luminance 0.180; OKLCH L 55.4% C 0.086 H 173.2°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#31836E
RGBrgb(49, 131, 110)
HSLhsl(165, 46%, 35%)
HSVhsv(165, 63%, 51%)
CMYKcmyk(62.6%, 0%, 16%, 48.6%)
CIE-LABlab(49.51, -30.17, 4.04)
CIE-LCHlch(49.51, 30.44, 172.38°)
OKLaboklab(55.39% -0.0855 0.0102)
OKLCHoklch(55.39% 0.086 173.2)
XYZxyz(12.1961, 18.0101, 17.5824)
Luminance0.1801 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31836E #833146
analogous
#318345 #31836E #316F83
triadic
#31836E #6E3183 #836E31
tetradic
#31836E #453183 #833146 #6F8331
square
#31836E #453183 #833146 #6F8331
split-complementary
#31836E #83316F #834531
monochromatic
#102A23 #205649 #31836E #42B093 #68C6AE

Accessibility & contrast

On white

4.56
#31836E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#31836E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31836E
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31836E#FFFFFF#000000##000000
##31836E1.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)
#7F7B6D
Deuteranopia (green-blind)
#73726F
Tritanopia (blue-blind)
#00847D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #31836e;
/* rgb */ color: rgb(49, 131, 110);
/* oklch */ color: oklch(55.4% 0.086 173.2);
Tailwind
colors: {
  custom: {
    50: '#72a797',
    500: '#31836e',
    950: '#000000',
  },
}
SCSS
$custom: #31836e;
$custom-light: #72a797;
$custom-dark: #000000;
JSON
{
  "hex": "#31836e",
  "rgb": {
    "r": 49,
    "g": 131,
    "b": 110
  },
  "hsl": {
    "h": 164.634,
    "s": 45.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.55389,
    "c": 0.08609,
    "h": 173.2
  },
  "luminance": 0.18011
}

Semantic roles & 50–950 ramp

primary
#31836E
secondary
#AE6275
accent
#5374D5
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#090F0D
muted
#7B7F7E

Preview Lab

Preview with #31836E

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

Preview Lab → · Contrast checker → · Palette generator →

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