#31403E#31403E

#31403E is a dark, near-neutral teal. Relative luminance 0.047; OKLCH L 35.8% C 0.020 H 186.3°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#31403E
RGBrgb(49, 64, 62)
HSLhsl(172, 13%, 22%)
HSVhsv(172, 23%, 25%)
CMYKcmyk(23.4%, 0%, 3.1%, 74.9%)
CIE-LABlab(25.77, -6.55, -0.78)
CIE-LCHlch(25.77, 6.60, 186.76°)
OKLaboklab(35.76% -0.0196 -0.0022)
OKLCHoklch(35.76% 0.02 186.3)
XYZxyz(3.9693, 4.6674, 5.2483)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31403E #403133
analogous
#314037 #31403E #313B40
triadic
#31403E #3E3140 #403E31
tetradic
#31403E #373140 #403133 #3B4031
square
#31403E #373140 #403133 #3B4031
split-complementary
#31403E #40313B #403731
monochromatic
#0D1111 #161D1C #31403E #4C6360 #668581

Accessibility & contrast

On white

10.86
#31403E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#31403E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31403E
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31403E#FFFFFF#000000##FFFFFF
##31403E1.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3E3E
Deuteranopia (green-blind)
#3B3C3E
Tritanopia (blue-blind)
#2D413F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #31403e;
/* rgb */ color: rgb(49, 64, 62);
/* oklch */ color: oklch(35.8% 0.020 186.3);
Tailwind
colors: {
  custom: {
    50: '#697473',
    500: '#31403e',
    950: '#000000',
  },
}
SCSS
$custom: #31403e;
$custom-light: #697473;
$custom-dark: #000000;
JSON
{
  "hex": "#31403e",
  "rgb": {
    "r": 49,
    "g": 64,
    "b": 62
  },
  "hsl": {
    "h": 172,
    "s": 13.274,
    "l": 22.157
  },
  "oklch": {
    "l": 0.3576,
    "c": 0.01974,
    "h": 186.3
  },
  "luminance": 0.04668
}

Semantic roles & 50–950 ramp

primary
#31403E
secondary
#705D5F
accent
#727BB6
background
#F6F7F6
surface
#EBEDEC
border
#C6C8C7
text
#060808
muted
#7A7B7B

Preview Lab

Preview with #31403E

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

Preview Lab → · Contrast checker → · Palette generator →

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