#040129#040129

#040129 is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 13.7% C 0.082 H 274.0°. Best body text is #FFFFFF at 20.16:1 contrast (WCAG AA passes).

Color values

HEX#040129
RGBrgb(4, 1, 41)
HSLhsl(245, 95%, 8%)
HSVhsv(245, 98%, 16%)
CMYKcmyk(90.2%, 97.6%, 0%, 83.9%)
CIE-LABlab(1.88, 10.80, -22.93)
CIE-LCHlch(1.88, 25.34, 295.23°)
OKLaboklab(13.71% 0.0057 -0.0816)
OKLCHoklch(13.71% 0.082 274)
XYZxyz(0.4610, 0.2076, 2.1132)
Luminance0.0021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#040129 #262901
analogous
#011229 #040129 #180129
triadic
#040129 #290401 #012904
tetradic
#040129 #290112 #262901 #012918
square
#040129 #290112 #262901 #012918
split-complementary
#040129 #291801 #122901
monochromatic
#03011E #03011E #040129 #0A0265 #1004A0

Accessibility & contrast

On white

20.16
#040129 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#040129 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #040129
20.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##040129#FFFFFF#000000##FFFFFF
##0401291.0020.161.0420.16
#FFFFFF20.161.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00082A
Deuteranopia (green-blind)
#000528
Tritanopia (blue-blind)
#000B14
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #040129;
/* rgb */ color: rgb(4, 1, 41);
/* oklch */ color: oklch(13.7% 0.082 274.0);
Tailwind
colors: {
  custom: {
    50: '#484763',
    500: '#040129',
    950: '#000000',
  },
}
SCSS
$custom: #040129;
$custom-light: #484763;
$custom-dark: #000000;
JSON
{
  "hex": "#040129",
  "rgb": {
    "r": 4,
    "g": 1,
    "b": 41
  },
  "hsl": {
    "h": 244.5,
    "s": 95.238,
    "l": 8.235
  },
  "oklch": {
    "l": 0.13709,
    "c": 0.08178,
    "h": 274
  },
  "luminance": 0.00208
}

Semantic roles & 50–950 ramp

primary
#040129
secondary
#696F16
accent
#FF29EF
background
#F4F3F5
surface
#E7E5EA
border
#C3C1C6
text
#010005
muted
#777779

Preview Lab

Preview with #040129

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

Preview Lab → · Contrast checker → · Palette generator →

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