#041333#041333

#041333 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.7% C 0.067 H 261.8°. Best body text is #FFFFFF at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#041333
RGBrgb(4, 19, 51)
HSLhsl(221, 85%, 11%)
HSVhsv(221, 92%, 20%)
CMYKcmyk(92.2%, 62.7%, 0%, 80%)
CIE-LABlab(6.60, 7.60, -22.92)
CIE-LCHlch(6.60, 24.15, 288.33°)
OKLaboklab(19.68% -0.0096 -0.0665)
OKLCHoklch(19.68% 0.067 261.8)
XYZxyz(0.8803, 0.7305, 3.2259)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041333 #332404
analogous
#042A33 #041333 #0C0433
triadic
#041333 #330413 #133304
tetradic
#041333 #33042A #332404 #04330C
square
#041333 #33042A #332404 #04330C
split-complementary
#041333 #330C04 #2A3304
monochromatic
#020B1C #020B1C #041333 #08286C #0D3DA4

Accessibility & contrast

On white

18.32
#041333 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#041333 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041333
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041333#FFFFFF#000000##FFFFFF
##0413331.0018.321.1518.32
#FFFFFF18.321.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011734
Deuteranopia (green-blind)
#001332
Tritanopia (blue-blind)
#001B20
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #041333;
/* rgb */ color: rgb(4, 19, 51);
/* oklch */ color: oklch(19.7% 0.067 261.8);
Tailwind
colors: {
  custom: {
    50: '#4c506b',
    500: '#041333',
    950: '#000000',
  },
}
SCSS
$custom: #041333;
$custom-light: #4c506b;
$custom-dark: #000000;
JSON
{
  "hex": "#041333",
  "rgb": {
    "r": 4,
    "g": 19,
    "b": 51
  },
  "hsl": {
    "h": 220.851,
    "s": 85.455,
    "l": 10.784
  },
  "oklch": {
    "l": 0.19676,
    "c": 0.06722,
    "h": 261.8
  },
  "luminance": 0.00731
}

Semantic roles & 50–950 ramp

primary
#041333
secondary
#75591D
accent
#B92CFC
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #041333

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

Preview Lab → · Contrast checker → · Palette generator →

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