#314A40#314A40

#314A40 is a dark, muted teal. Relative luminance 0.059; OKLCH L 38.5% C 0.035 H 167.7°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#314A40
RGBrgb(49, 74, 64)
HSLhsl(156, 20%, 24%)
HSVhsv(156, 34%, 29%)
CMYKcmyk(33.8%, 0%, 13.5%, 71%)
CIE-LABlab(29.21, -12.13, 2.92)
CIE-LCHlch(29.21, 12.48, 166.44°)
OKLaboklab(38.53% -0.0344 0.0075)
OKLCHoklch(38.53% 0.035 167.7)
XYZxyz(4.6405, 5.9205, 5.7477)
Luminance0.0592 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314A40 #4A313B
analogous
#314A34 #314A40 #31484A
triadic
#314A40 #40314A #4A4031
tetradic
#314A40 #34314A #4A313B #484A31
square
#314A40 #34314A #4A313B #484A31
split-complementary
#314A40 #4A3148 #4A3431
monochromatic
#0C1210 #192520 #314A40 #496F60 #629480

Accessibility & contrast

On white

9.61
#314A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#314A40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314A40
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314A40#FFFFFF#000000##FFFFFF
##314A401.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494740
Deuteranopia (green-blind)
#444441
Tritanopia (blue-blind)
#2B4A47
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #314a40;
/* rgb */ color: rgb(49, 74, 64);
/* oklch */ color: oklch(38.5% 0.035 167.7);
Tailwind
colors: {
  custom: {
    50: '#6a7c74',
    500: '#314a40',
    950: '#000000',
  },
}
SCSS
$custom: #314a40;
$custom-light: #6a7c74;
$custom-dark: #000000;
JSON
{
  "hex": "#314a40",
  "rgb": {
    "r": 49,
    "g": 74,
    "b": 64
  },
  "hsl": {
    "h": 156,
    "s": 20.325,
    "l": 24.118
  },
  "oklch": {
    "l": 0.38533,
    "c": 0.03522,
    "h": 167.7
  },
  "luminance": 0.05921
}

Semantic roles & 50–950 ramp

primary
#314A40
secondary
#7B5C68
accent
#6B8CBD
background
#F6F7F7
surface
#EBEEED
border
#C6C9C8
text
#060908
muted
#7A7B7B

Preview Lab

Preview with #314A40

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

Preview Lab → · Contrast checker → · Palette generator →

#314A40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva