#05251F#05251F

#05251F is a very dark, muted teal. Relative luminance 0.015; OKLCH L 23.9% C 0.039 H 178.0°. Best body text is #FFFFFF at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#05251F
RGBrgb(5, 37, 31)
HSLhsl(169, 76%, 8%)
HSVhsv(169, 86%, 15%)
CMYKcmyk(86.5%, 0%, 16.2%, 85.5%)
CIE-LABlab(12.31, -13.54, 0.60)
CIE-LCHlch(12.31, 13.55, 177.46°)
OKLaboklab(23.92% -0.0389 0.0014)
OKLCHoklch(23.92% 0.039 178)
XYZxyz(0.9714, 1.4542, 1.5256)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05251F #25050B
analogous
#05250F #05251F #051B25
triadic
#05251F #1F0525 #251F05
tetradic
#05251F #0F0525 #25050B #1B2505
square
#05251F #0F0525 #25050B #1B2505
split-complementary
#05251F #25051B #250F05
monochromatic
#041B17 #041B17 #05251F #0C5B4C #149179

Accessibility & contrast

On white

16.27
#05251F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05251F
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05251F#FFFFFF#000000##FFFFFF
##05251F1.0016.271.2916.27
#FFFFFF16.271.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #05251f;
/* rgb */ color: rgb(5, 37, 31);
/* oklch */ color: oklch(23.9% 0.039 178.0);
Tailwind
colors: {
  custom: {
    50: '#4a5f5a',
    500: '#05251f',
    950: '#000000',
  },
}
SCSS
$custom: #05251f;
$custom-light: #4a5f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#05251f",
  "rgb": {
    "r": 5,
    "g": 37,
    "b": 31
  },
  "hsl": {
    "h": 168.75,
    "s": 76.19,
    "l": 8.235
  },
  "oklch": {
    "l": 0.2392,
    "c": 0.03889,
    "h": 178
  },
  "luminance": 0.01454
}

Semantic roles & 50–950 ramp

primary
#05251F
secondary
#671F2D
accent
#3559F3
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010403
muted
#777978

Preview Lab

Preview with #05251F

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

Preview Lab → · Contrast checker → · Palette generator →

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