#04251D#04251D

#04251D is a very dark, muted teal. Relative luminance 0.014; OKLCH L 23.8% C 0.041 H 173.4°. Best body text is #FFFFFF at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#04251D
RGBrgb(4, 37, 29)
HSLhsl(165, 80%, 8%)
HSVhsv(165, 89%, 15%)
CMYKcmyk(89.2%, 0%, 21.6%, 85.5%)
CIE-LABlab(12.21, -14.50, 1.88)
CIE-LCHlch(12.21, 14.63, 172.61°)
OKLaboklab(23.8% -0.0409 0.0048)
OKLCHoklch(23.8% 0.041 173.4)
XYZxyz(0.9333, 1.4375, 1.3904)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04251D #25040C
analogous
#04250C #04251D #041C25
triadic
#04251D #1D0425 #251D04
tetradic
#04251D #0C0425 #25040C #1C2504
square
#04251D #0C0425 #25040C #1C2504
split-complementary
#04251D #25041C #250C04
monochromatic
#031C16 #031C16 #04251D #0A5C48 #109374

Accessibility & contrast

On white

16.31
#04251D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#04251D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04251D
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04251D#FFFFFF#000000##FFFFFF
##04251D1.0016.311.2916.31
#FFFFFF16.311.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #04251d;
/* rgb */ color: rgb(4, 37, 29);
/* oklch */ color: oklch(23.8% 0.041 173.4);
Tailwind
colors: {
  custom: {
    50: '#495f58',
    500: '#04251d',
    950: '#000000',
  },
}
SCSS
$custom: #04251d;
$custom-light: #495f58;
$custom-dark: #000000;
JSON
{
  "hex": "#04251d",
  "rgb": {
    "r": 4,
    "g": 37,
    "b": 29
  },
  "hsl": {
    "h": 165.455,
    "s": 80.488,
    "l": 8.039
  },
  "oklch": {
    "l": 0.23797,
    "c": 0.04121,
    "h": 173.4
  },
  "luminance": 0.01438
}

Semantic roles & 50–950 ramp

primary
#04251D
secondary
#681D2F
accent
#3161F7
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010403
muted
#777978

Preview Lab

Preview with #04251D

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

Preview Lab → · Contrast checker → · Palette generator →

#04251D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva