#04251F#04251F

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

Color values

HEX#04251F
RGBrgb(4, 37, 31)
HSLhsl(169, 80%, 8%)
HSVhsv(169, 89%, 15%)
CMYKcmyk(89.2%, 0%, 16.2%, 85.5%)
CIE-LABlab(12.27, -13.83, 0.54)
CIE-LCHlch(12.27, 13.84, 177.78°)
OKLaboklab(23.87% -0.0397 0.0012)
OKLCHoklch(23.87% 0.04 178.3)
XYZxyz(0.9588, 1.4478, 1.5250)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04251F #25040A
analogous
#04250E #04251F #041A25
triadic
#04251F #1F0425 #251F04
tetradic
#04251F #0E0425 #25040A #1A2504
square
#04251F #0E0425 #25040A #1A2504
split-complementary
#04251F #25041A #250E04
monochromatic
#031C17 #031C17 #04251F #0A5C4D #10937C

Accessibility & contrast

On white

16.28
#04251F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04251F
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04251F#FFFFFF#000000##FFFFFF
##04251F1.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)
#23221F
Deuteranopia (green-blind)
#1E1F1F
Tritanopia (blue-blind)
#002623
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #04251f;
/* rgb */ color: rgb(4, 37, 31);
/* oklch */ color: oklch(23.9% 0.040 178.3);
Tailwind
colors: {
  custom: {
    50: '#495f5a',
    500: '#04251f',
    950: '#000000',
  },
}
SCSS
$custom: #04251f;
$custom-light: #495f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#04251f",
  "rgb": {
    "r": 4,
    "g": 37,
    "b": 31
  },
  "hsl": {
    "h": 169.091,
    "s": 80.488,
    "l": 8.039
  },
  "oklch": {
    "l": 0.23873,
    "c": 0.03973,
    "h": 178.3
  },
  "luminance": 0.01448
}

Semantic roles & 50–950 ramp

primary
#04251F
secondary
#681D2B
accent
#3155F7
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010403
muted
#777978

Preview Lab

Preview with #04251F

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

Preview Lab → · Contrast checker → · Palette generator →

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