#041024#041024

#041024 is a very dark, muted blue. Relative luminance 0.005; OKLCH L 17.5% C 0.046 H 258.1°. Best body text is #FFFFFF at 19.01:1 contrast (WCAG AA passes).

Color values

HEX#041024
RGBrgb(4, 16, 36)
HSLhsl(218, 80%, 8%)
HSVhsv(218, 89%, 14%)
CMYKcmyk(88.9%, 55.6%, 0%, 85.9%)
CIE-LABlab(4.73, 2.29, -14.64)
CIE-LCHlch(4.73, 14.82, 278.90°)
OKLaboklab(17.46% -0.0094 -0.0447)
OKLCHoklch(17.46% 0.046 258.1)
XYZxyz(0.5537, 0.5237, 1.7406)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041024 #241804
analogous
#042024 #041024 #080424
triadic
#041024 #240410 #102404
tetradic
#041024 #240420 #241804 #042408
square
#041024 #240420 #241804 #042408
split-complementary
#041024 #240804 #202404
monochromatic
#030C1C #030C1C #041024 #0A285B #104192

Accessibility & contrast

On white

19.01
#041024 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#041024 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041024
19.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041024#FFFFFF#000000##FFFFFF
##0410241.0019.011.1019.01
#FFFFFF19.011.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071225
Deuteranopia (green-blind)
#030F24
Tritanopia (blue-blind)
#001518
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #041024;
/* rgb */ color: rgb(4, 16, 36);
/* oklch */ color: oklch(17.5% 0.046 258.1);
Tailwind
colors: {
  custom: {
    50: '#484e5e',
    500: '#041024',
    950: '#000000',
  },
}
SCSS
$custom: #041024;
$custom-light: #484e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#041024",
  "rgb": {
    "r": 4,
    "g": 16,
    "b": 36
  },
  "hsl": {
    "h": 217.5,
    "s": 80,
    "l": 7.843
  },
  "oklch": {
    "l": 0.17456,
    "c": 0.04573,
    "h": 258.1
  },
  "luminance": 0.00524
}

Semantic roles & 50–950 ramp

primary
#041024
secondary
#674B1D
accent
#AD31F6
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#010104
muted
#777779

Preview Lab

Preview with #041024

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

Preview Lab → · Contrast checker → · Palette generator →

#041024 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva