#04282B#04282B

#04282B is a dark, muted teal. Relative luminance 0.017; OKLCH L 25.4% C 0.040 H 203.1°. Best body text is #FFFFFF at 15.63:1 contrast (WCAG AA passes).

Color values

HEX#04282B
RGBrgb(4, 40, 43)
HSLhsl(185, 83%, 9%)
HSVhsv(185, 91%, 17%)
CMYKcmyk(90.7%, 7%, 0%, 83.1%)
CIE-LABlab(13.93, -11.15, -5.63)
CIE-LCHlch(13.93, 12.49, 206.76°)
OKLaboklab(25.37% -0.0366 -0.0156)
OKLCHoklch(25.37% 0.04 203.1)
XYZxyz(1.2447, 1.7177, 2.5510)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04282B #2B0704
analogous
#042B1B #04282B #04152B
triadic
#04282B #2B0428 #282B04
tetradic
#04282B #1B042B #2B0704 #152B04
square
#04282B #1B042B #2B0704 #152B04
split-complementary
#04282B #2B0415 #2B1B04
monochromatic
#031A1C #031A1C #04282B #095C63 #0E909B

Accessibility & contrast

On white

15.63
#04282B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#04282B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04282B
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04282B#FFFFFF#000000##FFFFFF
##04282B1.0015.631.3415.63
#FFFFFF15.631.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24262B
Deuteranopia (green-blind)
#1E222B
Tritanopia (blue-blind)
#002A29
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #04282b;
/* rgb */ color: rgb(4, 40, 43);
/* oklch */ color: oklch(25.4% 0.040 203.1);
Tailwind
colors: {
  custom: {
    50: '#4b6264',
    500: '#04282b',
    950: '#000000',
  },
}
SCSS
$custom: #04282b;
$custom-light: #4b6264;
$custom-dark: #000000;
JSON
{
  "hex": "#04282b",
  "rgb": {
    "r": 4,
    "g": 40,
    "b": 43
  },
  "hsl": {
    "h": 184.615,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.25375,
    "c": 0.03978,
    "h": 203.1
  },
  "luminance": 0.01718
}

Semantic roles & 50–950 ramp

primary
#04282B
secondary
#6E231D
accent
#3E2EF9
background
#F4F5F5
surface
#E7EAEA
border
#C3C6C6
text
#010505
muted
#777979

Preview Lab

Preview with #04282B

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

Preview Lab → · Contrast checker → · Palette generator →

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