#0A271C#0A271C

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

Color values

HEX#0A271C
RGBrgb(10, 39, 28)
HSLhsl(157, 59%, 10%)
HSVhsv(157, 74%, 15%)
CMYKcmyk(74.4%, 0%, 28.2%, 84.7%)
CIE-LABlab(13.23, -14.26, 4.09)
CIE-LCHlch(13.23, 14.83, 164.01°)
OKLaboklab(24.69% -0.0395 0.0105)
OKLCHoklch(24.69% 0.041 165.2)
XYZxyz(1.0602, 1.5993, 1.3512)
Luminance0.0160 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A271C #270A15
analogous
#0A270D #0A271C #0A2427
triadic
#0A271C #1C0A27 #271C0A
tetradic
#0A271C #0D0A27 #270A15 #24270A
square
#0A271C #0D0A27 #270A15 #24270A
split-complementary
#0A271C #270A24 #270D0A
monochromatic
#061811 #061811 #0A271C #16583F #238862

Accessibility & contrast

On white

15.91
#0A271C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A271C
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A271C#FFFFFF#000000##FFFFFF
##0A271C1.0015.911.3215.91
#FFFFFF15.911.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0a271c;
/* rgb */ color: rgb(10, 39, 28);
/* oklch */ color: oklch(24.7% 0.041 165.2);
Tailwind
colors: {
  custom: {
    50: '#4c6158',
    500: '#0a271c',
    950: '#000000',
  },
}
SCSS
$custom: #0a271c;
$custom-light: #4c6158;
$custom-dark: #000000;
JSON
{
  "hex": "#0a271c",
  "rgb": {
    "r": 10,
    "g": 39,
    "b": 28
  },
  "hsl": {
    "h": 157.241,
    "s": 59.184,
    "l": 9.608
  },
  "oklch": {
    "l": 0.2469,
    "c": 0.04088,
    "h": 165.2
  },
  "luminance": 0.01599
}

Semantic roles & 50–950 ramp

primary
#0A271C
secondary
#64293F
accent
#4581E2
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010503
muted
#777978

Preview Lab

Preview with #0A271C

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

Preview Lab → · Contrast checker → · Palette generator →

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