#040325#040325

#040325 is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 13.8% C 0.071 H 274.1°. Best body text is #FFFFFF at 20.10:1 contrast (WCAG AA passes).

Color values

HEX#040325
RGBrgb(4, 3, 37)
HSLhsl(242, 85%, 8%)
HSVhsv(242, 92%, 15%)
CMYKcmyk(89.2%, 91.9%, 0%, 85.5%)
CIE-LABlab(2.03, 8.32, -19.59)
CIE-LCHlch(2.03, 21.29, 293.01°)
OKLaboklab(13.8% 0.0051 -0.0708)
OKLCHoklch(13.8% 0.071 274.1)
XYZxyz(0.4165, 0.2245, 1.7713)
Luminance0.0022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#040325 #242503
analogous
#031325 #040325 #150325
triadic
#040325 #250403 #032504
tetradic
#040325 #250313 #242503 #032515
square
#040325 #250313 #242503 #032515
split-complementary
#040325 #251503 #132503
monochromatic
#03021C #03021C #040325 #0A085E #100C96

Accessibility & contrast

On white

20.10
#040325 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#040325 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #040325
20.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##040325#FFFFFF#000000##FFFFFF
##0403251.0020.101.0520.10
#FFFFFF20.101.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #040325;
/* rgb */ color: rgb(4, 3, 37);
/* oklch */ color: oklch(13.8% 0.071 274.1);
Tailwind
colors: {
  custom: {
    50: '#48485f',
    500: '#040325',
    950: '#000000',
  },
}
SCSS
$custom: #040325;
$custom-light: #48485f;
$custom-dark: #000000;
JSON
{
  "hex": "#040325",
  "rgb": {
    "r": 4,
    "g": 3,
    "b": 37
  },
  "hsl": {
    "h": 241.765,
    "s": 85,
    "l": 7.843
  },
  "oklch": {
    "l": 0.13802,
    "c": 0.07102,
    "h": 274.1
  },
  "luminance": 0.00225
}

Semantic roles & 50–950 ramp

primary
#040325
secondary
#67691B
accent
#FB2DF5
background
#F4F4F5
surface
#E6E6E9
border
#C2C2C5
text
#010004
muted
#777779

Preview Lab

Preview with #040325

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

Preview Lab → · Contrast checker → · Palette generator →

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