#04251A#04251A

#04251A is a very dark, muted teal. Relative luminance 0.014; OKLCH L 23.7% C 0.044 H 166.9°. Best body text is #FFFFFF at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#04251A
RGBrgb(4, 37, 26)
HSLhsl(160, 80%, 8%)
HSVhsv(160, 89%, 15%)
CMYKcmyk(89.2%, 0%, 29.7%, 85.5%)
CIE-LABlab(12.11, -15.47, 3.91)
CIE-LCHlch(12.11, 15.96, 165.83°)
OKLaboklab(23.69% -0.0428 0.01)
OKLCHoklch(23.69% 0.044 166.9)
XYZxyz(0.8980, 1.4234, 1.2045)
Luminance0.0142 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04251A #25040F
analogous
#042509 #04251A #041F25
triadic
#04251A #1A0425 #251A04
tetradic
#04251A #090425 #25040F #1F2504
square
#04251A #090425 #25040F #1F2504
split-complementary
#04251A #25041F #250904
monochromatic
#031C13 #031C13 #04251A #0A5C41 #109368

Accessibility & contrast

On white

16.34
#04251A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#04251A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04251A
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04251A#FFFFFF#000000##FFFFFF
##04251A1.0016.341.2816.34
#FFFFFF16.341.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242219
Deuteranopia (green-blind)
#1F1E1B
Tritanopia (blue-blind)
#002522
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #04251a;
/* rgb */ color: rgb(4, 37, 26);
/* oklch */ color: oklch(23.7% 0.044 166.9);
Tailwind
colors: {
  custom: {
    50: '#496056',
    500: '#04251a',
    950: '#000000',
  },
}
SCSS
$custom: #04251a;
$custom-light: #496056;
$custom-dark: #000000;
JSON
{
  "hex": "#04251a",
  "rgb": {
    "r": 4,
    "g": 37,
    "b": 26
  },
  "hsl": {
    "h": 160,
    "s": 80.488,
    "l": 8.039
  },
  "oklch": {
    "l": 0.2369,
    "c": 0.04396,
    "h": 166.9
  },
  "luminance": 0.01424
}

Semantic roles & 50–950 ramp

primary
#04251A
secondary
#681D36
accent
#3173F7
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010403
muted
#777978

Preview Lab

Preview with #04251A

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

Preview Lab → · Contrast checker → · Palette generator →

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