#04242B#04242B

#04242B is a very dark, muted cyan. Relative luminance 0.015; OKLCH L 24.1% C 0.039 H 215.3°. Best body text is #FFFFFF at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#04242B
RGBrgb(4, 36, 43)
HSLhsl(191, 83%, 9%)
HSVhsv(191, 91%, 17%)
CMYKcmyk(90.7%, 16.3%, 0%, 83.1%)
CIE-LABlab(12.36, -8.58, -8.01)
CIE-LCHlch(12.36, 11.74, 223.00°)
OKLaboklab(24.11% -0.0315 -0.0223)
OKLCHoklch(24.11% 0.039 215.3)
XYZxyz(1.1168, 1.4618, 2.5083)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04242B #2B0B04
analogous
#042B1F #04242B #04112B
triadic
#04242B #2B0424 #242B04
tetradic
#04242B #1F042B #2B0B04 #112B04
square
#04242B #1F042B #2B0B04 #112B04
split-complementary
#04242B #2B0411 #2B1F04
monochromatic
#03171C #03171C #04242B #095363 #0E829B

Accessibility & contrast

On white

16.25
#04242B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04242B
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04242B#FFFFFF#000000##FFFFFF
##04242B1.0016.251.2916.25
#FFFFFF16.251.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F232B
Deuteranopia (green-blind)
#1A1F2B
Tritanopia (blue-blind)
#002726
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #04242b;
/* rgb */ color: rgb(4, 36, 43);
/* oklch */ color: oklch(24.1% 0.039 215.3);
Tailwind
colors: {
  custom: {
    50: '#4b5e64',
    500: '#04242b',
    950: '#000000',
  },
}
SCSS
$custom: #04242b;
$custom-light: #4b5e64;
$custom-dark: #000000;
JSON
{
  "hex": "#04242b",
  "rgb": {
    "r": 4,
    "g": 36,
    "b": 43
  },
  "hsl": {
    "h": 190.769,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.2411,
    "c": 0.03866,
    "h": 215.3
  },
  "luminance": 0.01462
}

Semantic roles & 50–950 ramp

primary
#04242B
secondary
#6E2C1D
accent
#532EF9
background
#F4F5F5
surface
#E7E9EA
border
#C3C5C6
text
#010405
muted
#777979

Preview Lab

Preview with #04242B

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

Preview Lab → · Contrast checker → · Palette generator →

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