#041941#041941

#041941 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.6% C 0.081 H 260.9°. Best body text is #FFFFFF at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#041941
RGBrgb(4, 25, 65)
HSLhsl(219, 88%, 14%)
HSVhsv(219, 94%, 25%)
CMYKcmyk(93.8%, 61.5%, 0%, 74.5%)
CIE-LABlab(9.82, 9.85, -27.77)
CIE-LCHlch(9.82, 29.47, 289.52°)
OKLaboklab(22.59% -0.0128 -0.0802)
OKLCHoklch(22.59% 0.081 260.9)
XYZxyz(1.3515, 1.1026, 5.1416)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041941 #412C04
analogous
#043741 #041941 #0D0441
triadic
#041941 #410419 #194104
tetradic
#041941 #410437 #412C04 #04410D
square
#041941 #410437 #412C04 #04410D
split-complementary
#041941 #410D04 #374104
monochromatic
#020B1D #020B1D #041941 #082F7B #0B45B4

Accessibility & contrast

On white

17.20
#041941 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#041941 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041941
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041941#FFFFFF#000000##FFFFFF
##0419411.0017.201.2217.20
#FFFFFF17.201.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E42
Deuteranopia (green-blind)
#001840
Tritanopia (blue-blind)
#00232A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #041941;
/* rgb */ color: rgb(4, 25, 65);
/* oklch */ color: oklch(22.6% 0.081 260.9);
Tailwind
colors: {
  custom: {
    50: '#515576',
    500: '#041941',
    950: '#000000',
  },
}
SCSS
$custom: #041941;
$custom-light: #515576;
$custom-dark: #000000;
JSON
{
  "hex": "#041941",
  "rgb": {
    "r": 4,
    "g": 25,
    "b": 65
  },
  "hsl": {
    "h": 219.344,
    "s": 88.406,
    "l": 13.529
  },
  "oklch": {
    "l": 0.22593,
    "c": 0.0812,
    "h": 260.9
  },
  "luminance": 0.01103
}

Semantic roles & 50–950 ramp

primary
#041941
secondary
#82601F
accent
#B529FF
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020208
muted
#78787B

Preview Lab

Preview with #041941

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

Preview Lab → · Contrast checker → · Palette generator →

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