#040329#040329

#040329 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 14.4% C 0.077 H 272.9°. Best body text is #FFFFFF at 20.00:1 contrast (WCAG AA passes).

Color values

HEX#040329
RGBrgb(4, 3, 41)
HSLhsl(242, 86%, 9%)
HSVhsv(242, 93%, 16%)
CMYKcmyk(90.2%, 92.7%, 0%, 83.9%)
CIE-LABlab(2.27, 10.00, -22.31)
CIE-LCHlch(2.27, 24.45, 294.14°)
OKLaboklab(14.37% 0.0039 -0.077)
OKLCHoklch(14.37% 0.077 272.9)
XYZxyz(0.4827, 0.2510, 2.1204)
Luminance0.0025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#040329 #282903
analogous
#031529 #040329 #170329
triadic
#040329 #290403 #032904
tetradic
#040329 #290315 #282903 #032917
square
#040329 #290315 #282903 #032917
split-complementary
#040329 #291703 #152903
monochromatic
#03021D #03021D #040329 #0A0762 #0F0B9B

Accessibility & contrast

On white

20.00
#040329 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#040329 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #040329
20.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##040329#FFFFFF#000000##FFFFFF
##0403291.0020.001.0520.00
#FFFFFF20.001.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A2A
Deuteranopia (green-blind)
#000728
Tritanopia (blue-blind)
#000D15
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #040329;
/* rgb */ color: rgb(4, 3, 41);
/* oklch */ color: oklch(14.4% 0.077 272.9);
Tailwind
colors: {
  custom: {
    50: '#494863',
    500: '#040329',
    950: '#000000',
  },
}
SCSS
$custom: #040329;
$custom-light: #494863;
$custom-dark: #000000;
JSON
{
  "hex": "#040329",
  "rgb": {
    "r": 4,
    "g": 3,
    "b": 41
  },
  "hsl": {
    "h": 241.579,
    "s": 86.364,
    "l": 8.627
  },
  "oklch": {
    "l": 0.14374,
    "c": 0.07715,
    "h": 272.9
  },
  "luminance": 0.00251
}

Semantic roles & 50–950 ramp

primary
#040329
secondary
#6B6D1B
accent
#FD2BF7
background
#F4F4F5
surface
#E7E6EA
border
#C3C2C6
text
#010005
muted
#777779

Preview Lab

Preview with #040329

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

Preview Lab → · Contrast checker → · Palette generator →

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