#04242D#04242D

#04242D is a very dark, muted cyan. Relative luminance 0.015; OKLCH L 24.2% C 0.040 H 220.4°. Best body text is #FFFFFF at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#04242D
RGBrgb(4, 36, 45)
HSLhsl(193, 84%, 10%)
HSVhsv(193, 91%, 18%)
CMYKcmyk(91.1%, 20%, 0%, 82.4%)
CIE-LABlab(12.46, -7.74, -9.30)
CIE-LCHlch(12.46, 12.10, 230.22°)
OKLaboklab(24.22% -0.0305 -0.026)
OKLCHoklch(24.22% 0.04 220.4)
XYZxyz(1.1544, 1.4769, 2.7063)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04242D #2D0D04
analogous
#042D22 #04242D #04102D
triadic
#04242D #2D0424 #242D04
tetradic
#04242D #22042D #2D0D04 #102D04
square
#04242D #22042D #2D0D04 #102D04
split-complementary
#04242D #2D0410 #2D2204
monochromatic
#02161C #02161C #04242D #095165 #0E7E9D

Accessibility & contrast

On white

16.21
#04242D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#04242D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04242D
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04242D#FFFFFF#000000##FFFFFF
##04242D1.0016.211.3016.21
#FFFFFF16.211.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F232D
Deuteranopia (green-blind)
#191F2D
Tritanopia (blue-blind)
#002727
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #04242d;
/* rgb */ color: rgb(4, 36, 45);
/* oklch */ color: oklch(24.2% 0.040 220.4);
Tailwind
colors: {
  custom: {
    50: '#4b5e65',
    500: '#04242d',
    950: '#000000',
  },
}
SCSS
$custom: #04242d;
$custom-light: #4b5e65;
$custom-dark: #000000;
JSON
{
  "hex": "#04242d",
  "rgb": {
    "r": 4,
    "g": 36,
    "b": 45
  },
  "hsl": {
    "h": 193.171,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.2422,
    "c": 0.04011,
    "h": 220.4
  },
  "luminance": 0.01477
}

Semantic roles & 50–950 ramp

primary
#04242D
secondary
#702F1D
accent
#5B2EFA
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010405
muted
#77797A

Preview Lab

Preview with #04242D

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

Preview Lab → · Contrast checker → · Palette generator →

#04242D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva