#04282F#04282F

#04282F is a dark, muted teal. Relative luminance 0.017; OKLCH L 25.6% C 0.041 H 213.6°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#04282F
RGBrgb(4, 40, 47)
HSLhsl(190, 84%, 10%)
HSVhsv(190, 91%, 18%)
CMYKcmyk(91.5%, 14.9%, 0%, 81.6%)
CIE-LABlab(14.11, -9.54, -8.20)
CIE-LCHlch(14.11, 12.58, 220.70°)
OKLaboklab(25.58% -0.0344 -0.0229)
OKLCHoklch(25.58% 0.041 213.6)
XYZxyz(1.3217, 1.7485, 2.9566)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04282F #2F0B04
analogous
#042F20 #04282F #04132F
triadic
#04282F #2F0428 #282F04
tetradic
#04282F #20042F #2F0B04 #132F04
square
#04282F #20042F #2F0B04 #132F04
split-complementary
#04282F #2F0413 #2F2004
monochromatic
#02181C #02181C #04282F #095867 #0E88A0

Accessibility & contrast

On white

15.56
#04282F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#04282F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04282F
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04282F#FFFFFF#000000##FFFFFF
##04282F1.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23262F
Deuteranopia (green-blind)
#1D222F
Tritanopia (blue-blind)
#002B2A
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #04282f;
/* rgb */ color: rgb(4, 40, 47);
/* oklch */ color: oklch(25.6% 0.041 213.6);
Tailwind
colors: {
  custom: {
    50: '#4c6267',
    500: '#04282f',
    950: '#000000',
  },
}
SCSS
$custom: #04282f;
$custom-light: #4c6267;
$custom-dark: #000000;
JSON
{
  "hex": "#04282f",
  "rgb": {
    "r": 4,
    "g": 40,
    "b": 47
  },
  "hsl": {
    "h": 189.767,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.25578,
    "c": 0.04135,
    "h": 213.6
  },
  "luminance": 0.01749
}

Semantic roles & 50–950 ramp

primary
#04282F
secondary
#722B1D
accent
#4F2DFB
background
#F4F5F6
surface
#E7EAEB
border
#C3C6C6
text
#010506
muted
#77797A

Preview Lab

Preview with #04282F

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

Preview Lab → · Contrast checker → · Palette generator →

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