#05281C#05281C

#05281C is a very dark, muted teal. Relative luminance 0.016; OKLCH L 24.8% C 0.046 H 166.0°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#05281C
RGBrgb(5, 40, 28)
HSLhsl(159, 78%, 9%)
HSVhsv(159, 88%, 16%)
CMYKcmyk(87.5%, 0%, 30%, 84.3%)
CIE-LABlab(13.43, -16.19, 4.35)
CIE-LCHlch(13.43, 16.76, 164.96°)
OKLaboklab(24.8% -0.0447 0.0111)
OKLCHoklch(24.8% 0.046 166)
XYZxyz(1.0309, 1.6336, 1.3594)
Luminance0.0163 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05281C #280511
analogous
#05280B #05281C #052328
triadic
#05281C #1C0528 #281C05
tetradic
#05281C #0B0528 #280511 #232805
square
#05281C #0B0528 #280511 #232805
split-complementary
#05281C #280523 #280B05
monochromatic
#031B13 #031B13 #05281C #0C5E42 #139568

Accessibility & contrast

On white

15.83
#05281C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#05281C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05281C
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05281C#FFFFFF#000000##FFFFFF
##05281C1.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #05281c;
/* rgb */ color: rgb(5, 40, 28);
/* oklch */ color: oklch(24.8% 0.046 166.0);
Tailwind
colors: {
  custom: {
    50: '#4a6258',
    500: '#05281c',
    950: '#000000',
  },
}
SCSS
$custom: #05281c;
$custom-light: #4a6258;
$custom-dark: #000000;
JSON
{
  "hex": "#05281c",
  "rgb": {
    "r": 5,
    "g": 40,
    "b": 28
  },
  "hsl": {
    "h": 159.429,
    "s": 77.778,
    "l": 8.824
  },
  "oklch": {
    "l": 0.24804,
    "c": 0.04607,
    "h": 166
  },
  "luminance": 0.01634
}

Semantic roles & 50–950 ramp

primary
#05281C
secondary
#6A1F39
accent
#3476F4
background
#F4F5F5
surface
#E7EAE9
border
#C3C6C5
text
#010503
muted
#777978

Preview Lab

Preview with #05281C

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

Preview Lab → · Contrast checker → · Palette generator →

#05281C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva