#05281F#05281F

#05281F is a very dark, muted teal. Relative luminance 0.016; OKLCH L 24.9% C 0.043 H 172.1°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#05281F
RGBrgb(5, 40, 31)
HSLhsl(165, 78%, 9%)
HSVhsv(165, 88%, 16%)
CMYKcmyk(87.5%, 0%, 22.5%, 84.3%)
CIE-LABlab(13.52, -15.25, 2.35)
CIE-LCHlch(13.52, 15.43, 171.24°)
OKLaboklab(24.91% -0.0429 0.006)
OKLCHoklch(24.91% 0.043 172.1)
XYZxyz(1.0686, 1.6487, 1.5580)
Luminance0.0165 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05281F #28050E
analogous
#05280E #05281F #052028
triadic
#05281F #1F0528 #281F05
tetradic
#05281F #0E0528 #28050E #202805
square
#05281F #0E0528 #28050E #202805
split-complementary
#05281F #280520 #280E05
monochromatic
#031B15 #031B15 #05281F #0C5E49 #139573

Accessibility & contrast

On white

15.79
#05281F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05281F
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05281F#FFFFFF#000000##FFFFFF
##05281F1.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26251F
Deuteranopia (green-blind)
#222120
Tritanopia (blue-blind)
#002825
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #05281f;
/* rgb */ color: rgb(5, 40, 31);
/* oklch */ color: oklch(24.9% 0.043 172.1);
Tailwind
colors: {
  custom: {
    50: '#4a625a',
    500: '#05281f',
    950: '#000000',
  },
}
SCSS
$custom: #05281f;
$custom-light: #4a625a;
$custom-dark: #000000;
JSON
{
  "hex": "#05281f",
  "rgb": {
    "r": 5,
    "g": 40,
    "b": 31
  },
  "hsl": {
    "h": 164.571,
    "s": 77.778,
    "l": 8.824
  },
  "oklch": {
    "l": 0.24908,
    "c": 0.04327,
    "h": 172.1
  },
  "luminance": 0.01649
}

Semantic roles & 50–950 ramp

primary
#05281F
secondary
#6A1F32
accent
#3465F4
background
#F4F5F5
surface
#E7EAE9
border
#C3C6C5
text
#010503
muted
#777978

Preview Lab

Preview with #05281F

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

Preview Lab → · Contrast checker → · Palette generator →

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