#05271D#05271D

#05271D is a very dark, muted teal. Relative luminance 0.016; OKLCH L 24.5% C 0.043 H 169.5°. Best body text is #FFFFFF at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#05271D
RGBrgb(5, 39, 29)
HSLhsl(162, 77%, 9%)
HSVhsv(162, 87%, 15%)
CMYKcmyk(87.2%, 0%, 25.6%, 84.7%)
CIE-LABlab(13.06, -15.33, 3.11)
CIE-LCHlch(13.06, 15.64, 168.54°)
OKLaboklab(24.51% -0.0428 0.0079)
OKLCHoklch(24.51% 0.044 169.5)
XYZxyz(1.0098, 1.5719, 1.4123)
Luminance0.0157 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05271D #27050F
analogous
#05270C #05271D #052027
triadic
#05271D #1D0527 #271D05
tetradic
#05271D #0C0527 #27050F #202705
square
#05271D #0C0527 #27050F #202705
split-complementary
#05271D #270520 #270C05
monochromatic
#031B14 #031B14 #05271D #0C5D45 #13936E

Accessibility & contrast

On white

15.98
#05271D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#05271D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05271D
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05271D#FFFFFF#000000##FFFFFF
##05271D1.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26241C
Deuteranopia (green-blind)
#21201E
Tritanopia (blue-blind)
#002724
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #05271d;
/* rgb */ color: rgb(5, 39, 29);
/* oklch */ color: oklch(24.5% 0.043 169.5);
Tailwind
colors: {
  custom: {
    50: '#4a6158',
    500: '#05271d',
    950: '#000000',
  },
}
SCSS
$custom: #05271d;
$custom-light: #4a6158;
$custom-dark: #000000;
JSON
{
  "hex": "#05271d",
  "rgb": {
    "r": 5,
    "g": 39,
    "b": 29
  },
  "hsl": {
    "h": 162.353,
    "s": 77.273,
    "l": 8.627
  },
  "oklch": {
    "l": 0.24506,
    "c": 0.0435,
    "h": 169.5
  },
  "luminance": 0.01572
}

Semantic roles & 50–950 ramp

primary
#05271D
secondary
#691F35
accent
#346CF4
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010503
muted
#777978

Preview Lab

Preview with #05271D

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

Preview Lab → · Contrast checker → · Palette generator →

#05271D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva