#05251B#05251B

#05251B is a very dark, muted teal. Relative luminance 0.014; OKLCH L 23.8% C 0.042 H 168.5°. Best body text is #FFFFFF at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#05251B
RGBrgb(5, 37, 27)
HSLhsl(161, 76%, 8%)
HSVhsv(161, 86%, 15%)
CMYKcmyk(86.5%, 0%, 27%, 85.5%)
CIE-LABlab(12.18, -14.85, 3.30)
CIE-LCHlch(12.18, 15.22, 167.49°)
OKLaboklab(23.77% -0.0413 0.0084)
OKLCHoklch(23.77% 0.042 168.5)
XYZxyz(0.9219, 1.4344, 1.2650)
Luminance0.0143 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05251B #25050F
analogous
#05250B #05251B #051F25
triadic
#05251B #1B0525 #251B05
tetradic
#05251B #0B0525 #25050F #1F2505
square
#05251B #0B0525 #25050F #1F2505
split-complementary
#05251B #25051F #250B05
monochromatic
#041B14 #041B14 #05251B #0C5B42 #14916A

Accessibility & contrast

On white

16.32
#05251B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05251B
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05251B#FFFFFF#000000##FFFFFF
##05251B1.0016.321.2916.32
#FFFFFF16.321.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24221A
Deuteranopia (green-blind)
#1F1F1C
Tritanopia (blue-blind)
#002522
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #05251b;
/* rgb */ color: rgb(5, 37, 27);
/* oklch */ color: oklch(23.8% 0.042 168.5);
Tailwind
colors: {
  custom: {
    50: '#495f57',
    500: '#05251b',
    950: '#000000',
  },
}
SCSS
$custom: #05251b;
$custom-light: #495f57;
$custom-dark: #000000;
JSON
{
  "hex": "#05251b",
  "rgb": {
    "r": 5,
    "g": 37,
    "b": 27
  },
  "hsl": {
    "h": 161.25,
    "s": 76.19,
    "l": 8.235
  },
  "oklch": {
    "l": 0.23771,
    "c": 0.04219,
    "h": 168.5
  },
  "luminance": 0.01435
}

Semantic roles & 50–950 ramp

primary
#05251B
secondary
#671F36
accent
#3570F3
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010403
muted
#777978

Preview Lab

Preview with #05251B

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

Preview Lab → · Contrast checker → · Palette generator →

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