#313E40#313E40

#313E40 is a dark, near-neutral teal. Relative luminance 0.045; OKLCH L 35.3% C 0.017 H 207.8°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#313E40
RGBrgb(49, 62, 64)
HSLhsl(188, 13%, 22%)
HSVhsv(188, 23%, 25%)
CMYKcmyk(23.4%, 3.1%, 0%, 74.9%)
CIE-LABlab(25.16, -4.76, -2.99)
CIE-LCHlch(25.16, 5.62, 212.13°)
OKLaboklab(35.3% -0.0154 -0.0081)
OKLCHoklch(35.3% 0.017 207.8)
XYZxyz(3.9144, 4.4682, 5.5057)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313E40 #403331
analogous
#31403B #313E40 #313740
triadic
#313E40 #40313E #3E4031
tetradic
#313E40 #3B3140 #403331 #374031
square
#313E40 #3B3140 #403331 #374031
split-complementary
#313E40 #403137 #403B31
monochromatic
#0D1111 #161C1D #313E40 #4C6063 #668185

Accessibility & contrast

On white

11.09
#313E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#313E40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313E40
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313E40#FFFFFF#000000##FFFFFF
##313E401.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3D40
Deuteranopia (green-blind)
#393B40
Tritanopia (blue-blind)
#2C3F3F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #313e40;
/* rgb */ color: rgb(49, 62, 64);
/* oklch */ color: oklch(35.3% 0.017 207.8);
Tailwind
colors: {
  custom: {
    50: '#697374',
    500: '#313e40',
    950: '#000000',
  },
}
SCSS
$custom: #313e40;
$custom-light: #697374;
$custom-dark: #000000;
JSON
{
  "hex": "#313e40",
  "rgb": {
    "r": 49,
    "g": 62,
    "b": 64
  },
  "hsl": {
    "h": 188,
    "s": 13.274,
    "l": 22.157
  },
  "oklch": {
    "l": 0.35304,
    "c": 0.01737,
    "h": 207.8
  },
  "luminance": 0.04468
}

Semantic roles & 50–950 ramp

primary
#313E40
secondary
#705F5D
accent
#7B72B6
background
#F6F6F7
surface
#EBECED
border
#C6C7C8
text
#060808
muted
#7A7B7B

Preview Lab

Preview with #313E40

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

Preview Lab → · Contrast checker → · Palette generator →

#313E40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva