#040933#040933

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

Color values

HEX#040933
RGBrgb(4, 9, 51)
HSLhsl(234, 85%, 11%)
HSVhsv(234, 92%, 20%)
CMYKcmyk(92.2%, 82.4%, 0%, 80%)
CIE-LABlab(4.16, 12.61, -26.85)
CIE-LCHlch(4.16, 29.66, 295.16°)
OKLaboklab(17.29% -0.0023 -0.0821)
OKLCHoklch(17.29% 0.082 268.4)
XYZxyz(0.7451, 0.4601, 3.1809)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#040933 #332E04
analogous
#042033 #040933 #160433
triadic
#040933 #330409 #093304
tetradic
#040933 #330420 #332E04 #043316
square
#040933 #330420 #332E04 #043316
split-complementary
#040933 #331604 #203304
monochromatic
#02051C #02051C #040933 #08136C #0D1DA4

Accessibility & contrast

On white

19.23
#040933 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #040933
19.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##040933#FFFFFF#000000##FFFFFF
##0409331.0019.231.0919.23
#FFFFFF19.231.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001134
Deuteranopia (green-blind)
#000C32
Tritanopia (blue-blind)
#00151D
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #040933;
/* rgb */ color: rgb(4, 9, 51);
/* oklch */ color: oklch(17.3% 0.082 268.4);
Tailwind
colors: {
  custom: {
    50: '#4c4a6b',
    500: '#040933',
    950: '#000000',
  },
}
SCSS
$custom: #040933;
$custom-light: #4c4a6b;
$custom-dark: #000000;
JSON
{
  "hex": "#040933",
  "rgb": {
    "r": 4,
    "g": 9,
    "b": 51
  },
  "hsl": {
    "h": 233.617,
    "s": 85.455,
    "l": 10.784
  },
  "oklch": {
    "l": 0.17286,
    "c": 0.08211,
    "h": 268.4
  },
  "luminance": 0.0046
}

Semantic roles & 50–950 ramp

primary
#040933
secondary
#756C1D
accent
#E62CFC
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #040933

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

Preview Lab → · Contrast checker → · Palette generator →

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