#040429#040429

#040429 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 14.7% C 0.075 H 272.3°. Best body text is #FFFFFF at 19.91:1 contrast (WCAG AA passes).

Color values

HEX#040429
RGBrgb(4, 4, 41)
HSLhsl(240, 82%, 9%)
HSVhsv(240, 90%, 16%)
CMYKcmyk(90.2%, 90.2%, 0%, 83.9%)
CIE-LABlab(2.46, 9.60, -22.01)
CIE-LCHlch(2.46, 24.01, 293.57°)
OKLaboklab(14.69% 0.003 -0.075)
OKLCHoklch(14.69% 0.075 272.3)
XYZxyz(0.4936, 0.2727, 2.1240)
Luminance0.0027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#040429 #292904
analogous
#041729 #040429 #170429
triadic
#040429 #290404 #042904
tetradic
#040429 #290417 #292904 #042917
square
#040429 #290417 #292904 #042917
split-complementary
#040429 #291704 #172904
monochromatic
#03031C #03031C #040429 #090961 #0F0F99

Accessibility & contrast

On white

19.91
#040429 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #040429
19.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##040429#FFFFFF#000000##FFFFFF
##0404291.0019.911.0519.91
#FFFFFF19.911.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B2A
Deuteranopia (green-blind)
#000728
Tritanopia (blue-blind)
#000E15
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #040429;
/* rgb */ color: rgb(4, 4, 41);
/* oklch */ color: oklch(14.7% 0.075 272.3);
Tailwind
colors: {
  custom: {
    50: '#494863',
    500: '#040429',
    950: '#000000',
  },
}
SCSS
$custom: #040429;
$custom-light: #494863;
$custom-dark: #000000;
JSON
{
  "hex": "#040429",
  "rgb": {
    "r": 4,
    "g": 4,
    "b": 41
  },
  "hsl": {
    "h": 240,
    "s": 82.222,
    "l": 8.824
  },
  "oklch": {
    "l": 0.14685,
    "c": 0.07502,
    "h": 272.3
  },
  "luminance": 0.00273
}

Semantic roles & 50–950 ramp

primary
#040429
secondary
#6C6C1D
accent
#F92FF9
background
#F4F4F5
surface
#E7E6EA
border
#C3C2C6
text
#010005
muted
#777779

Preview Lab

Preview with #040429

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

Preview Lab → · Contrast checker → · Palette generator →

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