#041328#041328

#041328 is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.7% C 0.048 H 255.8°. Best body text is #FFFFFF at 18.60:1 contrast (WCAG AA passes).

Color values

HEX#041328
RGBrgb(4, 19, 40)
HSLhsl(215, 82%, 9%)
HSVhsv(215, 90%, 16%)
CMYKcmyk(90%, 52.5%, 0%, 84.3%)
CIE-LABlab(5.82, 2.17, -15.98)
CIE-LCHlch(5.82, 16.12, 277.74°)
OKLaboklab(18.68% -0.0119 -0.0468)
OKLCHoklch(18.68% 0.048 255.8)
XYZxyz(0.6658, 0.6447, 2.0964)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041328 #281904
analogous
#042528 #041328 #070428
triadic
#041328 #280413 #132804
tetradic
#041328 #280425 #281904 #042807
square
#041328 #280425 #281904 #042807
split-complementary
#041328 #280704 #252804
monochromatic
#030D1C #030D1C #041328 #0A2D60 #0F4897

Accessibility & contrast

On white

18.60
#041328 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#041328 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041328
18.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041328#FFFFFF#000000##FFFFFF
##0413281.0018.601.1318.60
#FFFFFF18.601.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091529
Deuteranopia (green-blind)
#041128
Tritanopia (blue-blind)
#00181B
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #041328;
/* rgb */ color: rgb(4, 19, 40);
/* oklch */ color: oklch(18.7% 0.048 255.8);
Tailwind
colors: {
  custom: {
    50: '#495062',
    500: '#041328',
    950: '#000000',
  },
}
SCSS
$custom: #041328;
$custom-light: #495062;
$custom-dark: #000000;
JSON
{
  "hex": "#041328",
  "rgb": {
    "r": 4,
    "g": 19,
    "b": 40
  },
  "hsl": {
    "h": 215,
    "s": 81.818,
    "l": 8.627
  },
  "oklch": {
    "l": 0.18677,
    "c": 0.04831,
    "h": 255.8
  },
  "luminance": 0.00645
}

Semantic roles & 50–950 ramp

primary
#041328
secondary
#6B4A1D
accent
#A530F8
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010205
muted
#777879

Preview Lab

Preview with #041328

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

Preview Lab → · Contrast checker → · Palette generator →

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