#04242F#04242F

#04242F is a very dark, muted cyan. Relative luminance 0.015; OKLCH L 24.3% C 0.042 H 225.1°. Best body text is #FFFFFF at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#04242F
RGBrgb(4, 36, 47)
HSLhsl(195, 84%, 10%)
HSVhsv(195, 91%, 18%)
CMYKcmyk(91.5%, 23.4%, 0%, 81.6%)
CIE-LABlab(12.56, -6.88, -10.58)
CIE-LCHlch(12.56, 12.62, 236.95°)
OKLaboklab(24.33% -0.0295 -0.0297)
OKLCHoklch(24.33% 0.042 225.1)
XYZxyz(1.1938, 1.4927, 2.9140)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04242F #2F0F04
analogous
#042F25 #04242F #040E2F
triadic
#04242F #2F0424 #242F04
tetradic
#04242F #25042F #2F0F04 #0E2F04
square
#04242F #25042F #2F0F04 #0E2F04
split-complementary
#04242F #2F040E #2F2504
monochromatic
#02161C #02161C #04242F #094F67 #0E7AA0

Accessibility & contrast

On white

16.17
#04242F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04242F
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04242F#FFFFFF#000000##FFFFFF
##04242F1.0016.171.3016.17
#FFFFFF16.171.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2330
Deuteranopia (green-blind)
#181F2F
Tritanopia (blue-blind)
#002728
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #04242f;
/* rgb */ color: rgb(4, 36, 47);
/* oklch */ color: oklch(24.3% 0.042 225.1);
Tailwind
colors: {
  custom: {
    50: '#4c5e67',
    500: '#04242f',
    950: '#000000',
  },
}
SCSS
$custom: #04242f;
$custom-light: #4c5e67;
$custom-dark: #000000;
JSON
{
  "hex": "#04242f",
  "rgb": {
    "r": 4,
    "g": 36,
    "b": 47
  },
  "hsl": {
    "h": 195.349,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.24334,
    "c": 0.04189,
    "h": 225.1
  },
  "luminance": 0.01493
}

Semantic roles & 50–950 ramp

primary
#04242F
secondary
#72331D
accent
#622DFB
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010406
muted
#77797A

Preview Lab

Preview with #04242F

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

Preview Lab → · Contrast checker → · Palette generator →

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