#04251B#04251B

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

Color values

HEX#04251B
RGBrgb(4, 37, 27)
HSLhsl(162, 80%, 8%)
HSVhsv(162, 89%, 15%)
CMYKcmyk(89.2%, 0%, 27%, 85.5%)
CIE-LABlab(12.14, -15.16, 3.23)
CIE-LCHlch(12.14, 15.50, 167.96°)
OKLaboklab(23.73% -0.0422 0.0083)
OKLCHoklch(23.73% 0.043 168.9)
XYZxyz(0.9094, 1.4280, 1.2644)
Luminance0.0143 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04251B #25040E
analogous
#04250A #04251B #041E25
triadic
#04251B #1B0425 #251B04
tetradic
#04251B #0A0425 #25040E #1E2504
square
#04251B #0A0425 #25040E #1E2504
split-complementary
#04251B #25041E #250A04
monochromatic
#031C14 #031C14 #04251B #0A5C43 #10936C

Accessibility & contrast

On white

16.33
#04251B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04251B
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04251B#FFFFFF#000000##FFFFFF
##04251B1.0016.331.2916.33
#FFFFFF16.331.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #04251b;
/* rgb */ color: rgb(4, 37, 27);
/* oklch */ color: oklch(23.7% 0.043 168.9);
Tailwind
colors: {
  custom: {
    50: '#496057',
    500: '#04251b',
    950: '#000000',
  },
}
SCSS
$custom: #04251b;
$custom-light: #496057;
$custom-dark: #000000;
JSON
{
  "hex": "#04251b",
  "rgb": {
    "r": 4,
    "g": 37,
    "b": 27
  },
  "hsl": {
    "h": 161.818,
    "s": 80.488,
    "l": 8.039
  },
  "oklch": {
    "l": 0.23725,
    "c": 0.04299,
    "h": 168.9
  },
  "luminance": 0.01428
}

Semantic roles & 50–950 ramp

primary
#04251B
secondary
#681D34
accent
#316DF7
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010403
muted
#777978

Preview Lab

Preview with #04251B

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

Preview Lab → · Contrast checker → · Palette generator →

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