#05251E#05251E

#05251E is a very dark, muted teal. Relative luminance 0.014; OKLCH L 23.9% C 0.040 H 175.4°. Best body text is #FFFFFF at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#05251E
RGBrgb(5, 37, 30)
HSLhsl(167, 76%, 8%)
HSVhsv(167, 86%, 15%)
CMYKcmyk(86.5%, 0%, 18.9%, 85.5%)
CIE-LABlab(12.28, -13.88, 1.27)
CIE-LCHlch(12.28, 13.93, 174.75°)
OKLaboklab(23.88% -0.0395 0.0032)
OKLCHoklch(23.88% 0.04 175.4)
XYZxyz(0.9584, 1.4490, 1.4572)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05251E #25050C
analogous
#05250E #05251E #051C25
triadic
#05251E #1E0525 #251E05
tetradic
#05251E #0E0525 #25050C #1C2505
square
#05251E #0E0525 #25050C #1C2505
split-complementary
#05251E #25051C #250E05
monochromatic
#041B16 #041B16 #05251E #0C5B4A #149175

Accessibility & contrast

On white

16.28
#05251E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#05251E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05251E
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05251E#FFFFFF#000000##FFFFFF
##05251E1.0016.281.2916.28
#FFFFFF16.281.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23221E
Deuteranopia (green-blind)
#1F1F1F
Tritanopia (blue-blind)
#002623
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #05251e;
/* rgb */ color: rgb(5, 37, 30);
/* oklch */ color: oklch(23.9% 0.040 175.4);
Tailwind
colors: {
  custom: {
    50: '#4a5f59',
    500: '#05251e',
    950: '#000000',
  },
}
SCSS
$custom: #05251e;
$custom-light: #4a5f59;
$custom-dark: #000000;
JSON
{
  "hex": "#05251e",
  "rgb": {
    "r": 5,
    "g": 37,
    "b": 30
  },
  "hsl": {
    "h": 166.875,
    "s": 76.19,
    "l": 8.235
  },
  "oklch": {
    "l": 0.23881,
    "c": 0.03961,
    "h": 175.4
  },
  "luminance": 0.01449
}

Semantic roles & 50–950 ramp

primary
#05251E
secondary
#671F2F
accent
#355FF3
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010403
muted
#777978

Preview Lab

Preview with #05251E

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

Preview Lab → · Contrast checker → · Palette generator →

#05251E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva