#040929#040929

#040929 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.1% C 0.066 H 268.7°. Best body text is #FFFFFF at 19.51:1 contrast (WCAG AA passes).

Color values

HEX#040929
RGBrgb(4, 9, 41)
HSLhsl(232, 82%, 9%)
HSVhsv(232, 90%, 16%)
CMYKcmyk(90.2%, 78%, 0%, 83.9%)
CIE-LABlab(3.44, 7.60, -20.47)
CIE-LCHlch(3.44, 21.83, 290.38°)
OKLaboklab(16.07% -0.0015 -0.0658)
OKLCHoklch(16.07% 0.066 268.7)
XYZxyz(0.5479, 0.3812, 2.1421)
Luminance0.0038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#040929 #292404
analogous
#041C29 #040929 #120429
triadic
#040929 #290409 #092904
tetradic
#040929 #29041C #292404 #042912
square
#040929 #29041C #292404 #042912
split-complementary
#040929 #291204 #1C2904
monochromatic
#03061C #03061C #040929 #091561 #0F2199

Accessibility & contrast

On white

19.51
#040929 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#040929 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #040929
19.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##040929#FFFFFF#000000##FFFFFF
##0409291.0019.511.0819.51
#FFFFFF19.511.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E2A
Deuteranopia (green-blind)
#000B28
Tritanopia (blue-blind)
#001117
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #040929;
/* rgb */ color: rgb(4, 9, 41);
/* oklch */ color: oklch(16.1% 0.066 268.7);
Tailwind
colors: {
  custom: {
    50: '#494b63',
    500: '#040929',
    950: '#000000',
  },
}
SCSS
$custom: #040929;
$custom-light: #494b63;
$custom-dark: #000000;
JSON
{
  "hex": "#040929",
  "rgb": {
    "r": 4,
    "g": 9,
    "b": 41
  },
  "hsl": {
    "h": 231.892,
    "s": 82.222,
    "l": 8.824
  },
  "oklch": {
    "l": 0.16071,
    "c": 0.06578,
    "h": 268.7
  },
  "luminance": 0.00381
}

Semantic roles & 50–950 ramp

primary
#040929
secondary
#6C611D
accent
#DD2FF9
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010105
muted
#777779

Preview Lab

Preview with #040929

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

Preview Lab → · Contrast checker → · Palette generator →

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