#27312E#27312E

#27312E is a dark, near-neutral teal. Relative luminance 0.028; OKLCH L 30.3% C 0.015 H 175.2°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#27312E
RGBrgb(39, 49, 46)
HSLhsl(162, 11%, 17%)
HSVhsv(162, 20%, 19%)
CMYKcmyk(20.4%, 0%, 6.1%, 80.8%)
CIE-LABlab(19.33, -5.03, 0.50)
CIE-LCHlch(19.33, 5.05, 174.37°)
OKLaboklab(30.27% -0.0146 0.0012)
OKLCHoklch(30.27% 0.015 175.2)
XYZxyz(2.4280, 2.8251, 3.0016)
Luminance0.0283 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27312E #31272A
analogous
#273129 #27312E #272F31
triadic
#27312E #2E2731 #312E27
tetradic
#27312E #292731 #31272A #2F3127
square
#27312E #292731 #31272A #2F3127
split-complementary
#27312E #31272F #312927
monochromatic
#0E1110 #0E1110 #27312E #42534E #5D756E

Accessibility & contrast

On white

13.42
#27312E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#27312E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27312E
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27312E#FFFFFF#000000##FFFFFF
##27312E1.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30302E
Deuteranopia (green-blind)
#2E2E2E
Tritanopia (blue-blind)
#253130
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #27312e;
/* rgb */ color: rgb(39, 49, 46);
/* oklch */ color: oklch(30.3% 0.015 175.2);
Tailwind
colors: {
  custom: {
    50: '#616966',
    500: '#27312e',
    950: '#000000',
  },
}
SCSS
$custom: #27312e;
$custom-light: #616966;
$custom-dark: #000000;
JSON
{
  "hex": "#27312e",
  "rgb": {
    "r": 39,
    "g": 49,
    "b": 46
  },
  "hsl": {
    "h": 162,
    "s": 11.364,
    "l": 17.255
  },
  "oklch": {
    "l": 0.3027,
    "c": 0.01469,
    "h": 175.2
  },
  "luminance": 0.02825
}

Semantic roles & 50–950 ramp

primary
#27312E
secondary
#615357
accent
#7487B4
background
#F5F6F6
surface
#E9EBEB
border
#C5C6C6
text
#050606
muted
#797A7A

Preview Lab

Preview with #27312E

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

Preview Lab → · Contrast checker → · Palette generator →

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