#31473F#31473F

#31473F is a dark, muted teal. Relative luminance 0.055; OKLCH L 37.7% C 0.031 H 170.1°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#31473F
RGBrgb(49, 71, 63)
HSLhsl(158, 18%, 24%)
HSVhsv(158, 31%, 28%)
CMYKcmyk(31%, 0%, 11.3%, 72.2%)
CIE-LABlab(28.16, -10.60, 2.06)
CIE-LCHlch(28.16, 10.79, 169.01°)
OKLaboklab(37.68% -0.0303 0.0053)
OKLCHoklch(37.68% 0.031 170.1)
XYZxyz(4.4168, 5.5181, 5.5340)
Luminance0.0552 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31473F #473139
analogous
#314734 #31473F #314447
triadic
#31473F #3F3147 #473F31
tetradic
#31473F #343147 #473139 #444731
square
#31473F #343147 #473139 #444731
split-complementary
#31473F #473144 #473431
monochromatic
#0C1210 #18231F #31473F #4A6B5F #638F7F

Accessibility & contrast

On white

9.98
#31473F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#31473F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31473F
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31473F#FFFFFF#000000##FFFFFF
##31473F1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46443F
Deuteranopia (green-blind)
#424140
Tritanopia (blue-blind)
#2C4745
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #31473f;
/* rgb */ color: rgb(49, 71, 63);
/* oklch */ color: oklch(37.7% 0.031 170.1);
Tailwind
colors: {
  custom: {
    50: '#697a74',
    500: '#31473f',
    950: '#000000',
  },
}
SCSS
$custom: #31473f;
$custom-light: #697a74;
$custom-dark: #000000;
JSON
{
  "hex": "#31473f",
  "rgb": {
    "r": 49,
    "g": 71,
    "b": 63
  },
  "hsl": {
    "h": 158.182,
    "s": 18.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.37683,
    "c": 0.03076,
    "h": 170.1
  },
  "luminance": 0.05518
}

Semantic roles & 50–950 ramp

primary
#31473F
secondary
#775C66
accent
#6D89BB
background
#F6F7F7
surface
#EBEDED
border
#C6C8C8
text
#060908
muted
#7A7B7B

Preview Lab

Preview with #31473F

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

Preview Lab → · Contrast checker → · Palette generator →

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