#0A271B#0A271B

#0A271B is a very dark, muted teal. Relative luminance 0.016; OKLCH L 24.7% C 0.042 H 163.1°. Best body text is #FFFFFF at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#0A271B
RGBrgb(10, 39, 27)
HSLhsl(155, 59%, 10%)
HSVhsv(155, 74%, 15%)
CMYKcmyk(74.4%, 0%, 30.8%, 84.7%)
CIE-LABlab(13.20, -14.55, 4.76)
CIE-LCHlch(13.20, 15.31, 161.90°)
OKLaboklab(24.66% -0.0401 0.0122)
OKLCHoklch(24.66% 0.042 163.1)
XYZxyz(1.0484, 1.5946, 1.2892)
Luminance0.0159 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A271B #270A16
analogous
#0A270C #0A271B #0A2527
triadic
#0A271B #1B0A27 #271B0A
tetradic
#0A271B #0C0A27 #270A16 #25270A
square
#0A271B #0C0A27 #270A16 #25270A
split-complementary
#0A271B #270A25 #270C0A
monochromatic
#061811 #061811 #0A271B #16583D #23885E

Accessibility & contrast

On white

15.92
#0A271B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#0A271B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A271B
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A271B#FFFFFF#000000##FFFFFF
##0A271B1.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26241A
Deuteranopia (green-blind)
#22211C
Tritanopia (blue-blind)
#012724
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0a271b;
/* rgb */ color: rgb(10, 39, 27);
/* oklch */ color: oklch(24.7% 0.042 163.1);
Tailwind
colors: {
  custom: {
    50: '#4c6157',
    500: '#0a271b',
    950: '#000000',
  },
}
SCSS
$custom: #0a271b;
$custom-light: #4c6157;
$custom-dark: #000000;
JSON
{
  "hex": "#0a271b",
  "rgb": {
    "r": 10,
    "g": 39,
    "b": 27
  },
  "hsl": {
    "h": 155.172,
    "s": 59.184,
    "l": 9.608
  },
  "oklch": {
    "l": 0.24657,
    "c": 0.04193,
    "h": 163.1
  },
  "luminance": 0.01595
}

Semantic roles & 50–950 ramp

primary
#0A271B
secondary
#642941
accent
#4586E2
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010503
muted
#777978

Preview Lab

Preview with #0A271B

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

Preview Lab → · Contrast checker → · Palette generator →

#0A271B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva