#041641#041641

#041641 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.8% C 0.086 H 262.9°. Best body text is #FFFFFF at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#041641
RGBrgb(4, 22, 65)
HSLhsl(222, 88%, 14%)
HSVhsv(222, 94%, 25%)
CMYKcmyk(93.8%, 66.2%, 0%, 74.5%)
CIE-LABlab(8.83, 12.25, -29.38)
CIE-LCHlch(8.83, 31.83, 292.64°)
OKLaboklab(21.85% -0.0106 -0.085)
OKLCHoklch(21.85% 0.086 262.9)
XYZxyz(1.2908, 0.9811, 5.1213)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041641 #412F04
analogous
#043441 #041641 #100441
triadic
#041641 #410416 #164104
tetradic
#041641 #410434 #412F04 #044110
square
#041641 #410434 #412F04 #044110
split-complementary
#041641 #411004 #344104
monochromatic
#020A1D #020A1D #041641 #082A7B #0B3DB4

Accessibility & contrast

On white

17.56
#041641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#041641 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041641
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041641#FFFFFF#000000##FFFFFF
##0416411.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C42
Deuteranopia (green-blind)
#001640
Tritanopia (blue-blind)
#002128
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #041641;
/* rgb */ color: rgb(4, 22, 65);
/* oklch */ color: oklch(21.8% 0.086 262.9);
Tailwind
colors: {
  custom: {
    50: '#515276',
    500: '#041641',
    950: '#000000',
  },
}
SCSS
$custom: #041641;
$custom-light: #515276;
$custom-dark: #000000;
JSON
{
  "hex": "#041641",
  "rgb": {
    "r": 4,
    "g": 22,
    "b": 65
  },
  "hsl": {
    "h": 222.295,
    "s": 88.406,
    "l": 13.529
  },
  "oklch": {
    "l": 0.21849,
    "c": 0.08563,
    "h": 262.9
  },
  "luminance": 0.00981
}

Semantic roles & 50–950 ramp

primary
#041641
secondary
#82651F
accent
#C029FF
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020208
muted
#78787B

Preview Lab

Preview with #041641

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

Preview Lab → · Contrast checker → · Palette generator →

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