#040433#040433

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

Color values

HEX#040433
RGBrgb(4, 4, 51)
HSLhsl(240, 85%, 11%)
HSVhsv(240, 92%, 20%)
CMYKcmyk(92.2%, 92.2%, 0%, 80%)
CIE-LABlab(3.18, 14.61, -28.42)
CIE-LCHlch(3.18, 31.95, 297.21°)
OKLaboklab(16.11% 0.0005 -0.09)
OKLCHoklch(16.11% 0.09 270.3)
XYZxyz(0.6908, 0.3516, 3.1628)
Luminance0.0035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#040433 #333304
analogous
#041B33 #040433 #1B0433
triadic
#040433 #330404 #043304
tetradic
#040433 #33041B #333304 #04331B
square
#040433 #33041B #333304 #04331B
split-complementary
#040433 #331B04 #1B3304
monochromatic
#02021C #02021C #040433 #08086C #0D0DA4

Accessibility & contrast

On white

19.62
#040433 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #040433
19.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##040433#FFFFFF#000000##FFFFFF
##0404331.0019.621.0719.62
#FFFFFF19.621.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E34
Deuteranopia (green-blind)
#000932
Tritanopia (blue-blind)
#00121B
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #040433;
/* rgb */ color: rgb(4, 4, 51);
/* oklch */ color: oklch(16.1% 0.090 270.3);
Tailwind
colors: {
  custom: {
    50: '#4b486b',
    500: '#040433',
    950: '#000000',
  },
}
SCSS
$custom: #040433;
$custom-light: #4b486b;
$custom-dark: #000000;
JSON
{
  "hex": "#040433",
  "rgb": {
    "r": 4,
    "g": 4,
    "b": 51
  },
  "hsl": {
    "h": 240,
    "s": 85.455,
    "l": 10.784
  },
  "oklch": {
    "l": 0.16109,
    "c": 0.08996,
    "h": 270.3
  },
  "luminance": 0.00352
}

Semantic roles & 50–950 ramp

primary
#040433
secondary
#75751D
accent
#FC2CFC
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010007
muted
#77777A

Preview Lab

Preview with #040433

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

Preview Lab → · Contrast checker → · Palette generator →

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