#04251E#04251E

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

Color values

HEX#04251E
RGBrgb(4, 37, 30)
HSLhsl(167, 80%, 8%)
HSVhsv(167, 89%, 15%)
CMYKcmyk(89.2%, 0%, 18.9%, 85.5%)
CIE-LABlab(12.24, -14.17, 1.21)
CIE-LCHlch(12.24, 14.22, 175.12°)
OKLaboklab(23.83% -0.0403 0.003)
OKLCHoklch(23.83% 0.04 175.8)
XYZxyz(0.9459, 1.4426, 1.4566)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04251E #25040B
analogous
#04250D #04251E #041B25
triadic
#04251E #1E0425 #251E04
tetradic
#04251E #0D0425 #25040B #1B2504
square
#04251E #0D0425 #25040B #1B2504
split-complementary
#04251E #25041B #250D04
monochromatic
#031C16 #031C16 #04251E #0A5C4B #109378

Accessibility & contrast

On white

16.30
#04251E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04251E
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04251E#FFFFFF#000000##FFFFFF
##04251E1.0016.301.2916.30
#FFFFFF16.301.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #04251e;
/* rgb */ color: rgb(4, 37, 30);
/* oklch */ color: oklch(23.8% 0.040 175.8);
Tailwind
colors: {
  custom: {
    50: '#495f59',
    500: '#04251e',
    950: '#000000',
  },
}
SCSS
$custom: #04251e;
$custom-light: #495f59;
$custom-dark: #000000;
JSON
{
  "hex": "#04251e",
  "rgb": {
    "r": 4,
    "g": 37,
    "b": 30
  },
  "hsl": {
    "h": 167.273,
    "s": 80.488,
    "l": 8.039
  },
  "oklch": {
    "l": 0.23834,
    "c": 0.04043,
    "h": 175.8
  },
  "luminance": 0.01443
}

Semantic roles & 50–950 ramp

primary
#04251E
secondary
#681D2D
accent
#315BF7
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010403
muted
#777978

Preview Lab

Preview with #04251E

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

Preview Lab → · Contrast checker → · Palette generator →

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