#040432#040432

#040432 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 16.0% C 0.089 H 270.5°. Best body text is #FFFFFF at 19.65:1 contrast (WCAG AA passes).

Color values

HEX#040432
RGBrgb(4, 4, 50)
HSLhsl(240, 85%, 11%)
HSVhsv(240, 92%, 20%)
CMYKcmyk(92%, 92%, 0%, 80.4%)
CIE-LABlab(3.10, 14.05, -27.80)
CIE-LCHlch(3.10, 31.15, 296.82°)
OKLaboklab(15.96% 0.0007 -0.0885)
OKLCHoklch(15.96% 0.089 270.5)
XYZxyz(0.6690, 0.3429, 3.0479)
Luminance0.0034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#040432 #323204
analogous
#041B32 #040432 #1B0432
triadic
#040432 #320404 #043204
tetradic
#040432 #32041B #323204 #04321B
square
#040432 #32041B #323204 #04321B
split-complementary
#040432 #321B04 #1B3204
monochromatic
#02021C #02021C #040432 #09096B #0D0DA3

Accessibility & contrast

On white

19.65
#040432 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#040432 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #040432
19.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##040432#FFFFFF#000000##FFFFFF
##0404321.0019.651.0719.65
#FFFFFF19.651.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E33
Deuteranopia (green-blind)
#000931
Tritanopia (blue-blind)
#00111A
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #040432;
/* rgb */ color: rgb(4, 4, 50);
/* oklch */ color: oklch(16.0% 0.089 270.5);
Tailwind
colors: {
  custom: {
    50: '#4b486a',
    500: '#040432',
    950: '#000000',
  },
}
SCSS
$custom: #040432;
$custom-light: #4b486a;
$custom-dark: #000000;
JSON
{
  "hex": "#040432",
  "rgb": {
    "r": 4,
    "g": 4,
    "b": 50
  },
  "hsl": {
    "h": 240,
    "s": 85.185,
    "l": 10.588
  },
  "oklch": {
    "l": 0.15963,
    "c": 0.08851,
    "h": 270.5
  },
  "luminance": 0.00343
}

Semantic roles & 50–950 ramp

primary
#040432
secondary
#74741D
accent
#FB2CFB
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #040432

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

Preview Lab → · Contrast checker → · Palette generator →

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