#05241F#05241F

#05241F is a very dark, muted teal. Relative luminance 0.014; OKLCH L 23.6% C 0.038 H 180.3°. Best body text is #FFFFFF at 16.42:1 contrast (WCAG AA passes).

Color values

HEX#05241F
RGBrgb(5, 36, 31)
HSLhsl(170, 76%, 8%)
HSVhsv(170, 86%, 14%)
CMYKcmyk(86.1%, 0%, 13.9%, 85.9%)
CIE-LABlab(11.91, -12.95, 0.01)
CIE-LCHlch(11.91, 12.95, 179.94°)
OKLaboklab(23.59% -0.0375 -0.0002)
OKLCHoklch(23.59% 0.038 180.3)
XYZxyz(0.9407, 1.3928, 1.5153)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05241F #24050A
analogous
#05240F #05241F #051924
triadic
#05241F #1F0524 #241F05
tetradic
#05241F #0F0524 #24050A #192405
square
#05241F #0F0524 #24050A #192405
split-complementary
#05241F #240519 #240F05
monochromatic
#041B17 #041B17 #05241F #0C5A4D #148F7C

Accessibility & contrast

On white

16.42
#05241F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#05241F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05241F
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05241F#FFFFFF#000000##FFFFFF
##05241F1.0016.421.2816.42
#FFFFFF16.421.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22211F
Deuteranopia (green-blind)
#1D1E1F
Tritanopia (blue-blind)
#002522
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #05241f;
/* rgb */ color: rgb(5, 36, 31);
/* oklch */ color: oklch(23.6% 0.038 180.3);
Tailwind
colors: {
  custom: {
    50: '#495f5a',
    500: '#05241f',
    950: '#000000',
  },
}
SCSS
$custom: #05241f;
$custom-light: #495f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#05241f",
  "rgb": {
    "r": 5,
    "g": 36,
    "b": 31
  },
  "hsl": {
    "h": 170.323,
    "s": 75.61,
    "l": 8.039
  },
  "oklch": {
    "l": 0.2359,
    "c": 0.03752,
    "h": 180.3
  },
  "luminance": 0.01393
}

Semantic roles & 50–950 ramp

primary
#05241F
secondary
#661F2B
accent
#3654F2
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010403
muted
#777978

Preview Lab

Preview with #05241F

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

Preview Lab → · Contrast checker → · Palette generator →

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