#040324#040324

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

Color values

HEX#040324
RGBrgb(4, 3, 36)
HSLhsl(242, 85%, 8%)
HSVhsv(242, 92%, 14%)
CMYKcmyk(88.9%, 91.7%, 0%, 85.9%)
CIE-LABlab(1.97, 7.93, -18.90)
CIE-LCHlch(1.97, 20.50, 292.75°)
OKLaboklab(13.66% 0.0053 -0.0693)
OKLCHoklch(13.66% 0.069 274.4)
XYZxyz(0.4010, 0.2183, 1.6897)
Luminance0.0022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#040324 #232403
analogous
#031224 #040324 #140324
triadic
#040324 #240403 #032404
tetradic
#040324 #240312 #232403 #032414
square
#040324 #240312 #232403 #032414
split-complementary
#040324 #241403 #122403
monochromatic
#03021C #03021C #040324 #0A085C #110C95

Accessibility & contrast

On white

20.12
#040324 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #040324
20.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##040324#FFFFFF#000000##FFFFFF
##0403241.0020.121.0420.12
#FFFFFF20.121.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000925
Deuteranopia (green-blind)
#000623
Tritanopia (blue-blind)
#000B12
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #040324;
/* rgb */ color: rgb(4, 3, 36);
/* oklch */ color: oklch(13.7% 0.069 274.4);
Tailwind
colors: {
  custom: {
    50: '#48485e',
    500: '#040324',
    950: '#000000',
  },
}
SCSS
$custom: #040324;
$custom-light: #48485e;
$custom-dark: #000000;
JSON
{
  "hex": "#040324",
  "rgb": {
    "r": 4,
    "g": 3,
    "b": 36
  },
  "hsl": {
    "h": 241.818,
    "s": 84.615,
    "l": 7.647
  },
  "oklch": {
    "l": 0.13661,
    "c": 0.06945,
    "h": 274.4
  },
  "luminance": 0.00218
}

Semantic roles & 50–950 ramp

primary
#040324
secondary
#66681B
accent
#FB2DF5
background
#F4F4F5
surface
#E6E6E9
border
#C2C2C5
text
#000004
muted
#777779

Preview Lab

Preview with #040324

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

Preview Lab → · Contrast checker → · Palette generator →

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