#040932#040932

#040932 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.2% C 0.081 H 268.4°. Best body text is #FFFFFF at 19.26:1 contrast (WCAG AA passes).

Color values

HEX#040932
RGBrgb(4, 9, 50)
HSLhsl(233, 85%, 11%)
HSVhsv(233, 92%, 20%)
CMYKcmyk(92%, 82%, 0%, 80.4%)
CIE-LABlab(4.08, 12.05, -26.23)
CIE-LCHlch(4.08, 28.87, 294.68°)
OKLaboklab(17.16% -0.0022 -0.0805)
OKLCHoklch(17.16% 0.081 268.4)
XYZxyz(0.7233, 0.4514, 3.0660)
Luminance0.0045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#040932 #322D04
analogous
#042032 #040932 #160432
triadic
#040932 #320409 #093204
tetradic
#040932 #320420 #322D04 #043216
square
#040932 #320420 #322D04 #043216
split-complementary
#040932 #321604 #203204
monochromatic
#02051C #02051C #040932 #09136B #0D1DA3

Accessibility & contrast

On white

19.26
#040932 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#040932 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #040932
19.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##040932#FFFFFF#000000##FFFFFF
##0409321.0019.261.0919.26
#FFFFFF19.261.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001133
Deuteranopia (green-blind)
#000C31
Tritanopia (blue-blind)
#00141C
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #040932;
/* rgb */ color: rgb(4, 9, 50);
/* oklch */ color: oklch(17.2% 0.081 268.4);
Tailwind
colors: {
  custom: {
    50: '#4b4a6a',
    500: '#040932',
    950: '#000000',
  },
}
SCSS
$custom: #040932;
$custom-light: #4b4a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#040932",
  "rgb": {
    "r": 4,
    "g": 9,
    "b": 50
  },
  "hsl": {
    "h": 233.478,
    "s": 85.185,
    "l": 10.588
  },
  "oklch": {
    "l": 0.1716,
    "c": 0.08053,
    "h": 268.4
  },
  "luminance": 0.00451
}

Semantic roles & 50–950 ramp

primary
#040932
secondary
#746B1D
accent
#E52CFB
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #040932

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

Preview Lab → · Contrast checker → · Palette generator →

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