#041A41#041A41

#041A41 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.8% C 0.080 H 260.2°. Best body text is #FFFFFF at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#041A41
RGBrgb(4, 26, 65)
HSLhsl(218, 88%, 14%)
HSVhsv(218, 94%, 25%)
CMYKcmyk(93.8%, 60%, 0%, 74.5%)
CIE-LABlab(10.15, 9.05, -27.23)
CIE-LCHlch(10.15, 28.70, 288.38°)
OKLaboklab(22.85% -0.0136 -0.0786)
OKLCHoklch(22.85% 0.08 260.2)
XYZxyz(1.3733, 1.1461, 5.1488)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041A41 #412B04
analogous
#043841 #041A41 #0C0441
triadic
#041A41 #41041A #1A4104
tetradic
#041A41 #410438 #412B04 #04410C
square
#041A41 #410438 #412B04 #04410C
split-complementary
#041A41 #410C04 #384104
monochromatic
#020C1D #020C1D #041A41 #08317B #0B48B4

Accessibility & contrast

On white

17.08
#041A41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#041A41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041A41
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041A41#FFFFFF#000000##FFFFFF
##041A411.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011F42
Deuteranopia (green-blind)
#001940
Tritanopia (blue-blind)
#00242A
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #041a41;
/* rgb */ color: rgb(4, 26, 65);
/* oklch */ color: oklch(22.8% 0.080 260.2);
Tailwind
colors: {
  custom: {
    50: '#515576',
    500: '#041a41',
    950: '#000000',
  },
}
SCSS
$custom: #041a41;
$custom-light: #515576;
$custom-dark: #000000;
JSON
{
  "hex": "#041a41",
  "rgb": {
    "r": 4,
    "g": 26,
    "b": 65
  },
  "hsl": {
    "h": 218.361,
    "s": 88.406,
    "l": 13.529
  },
  "oklch": {
    "l": 0.22848,
    "c": 0.07973,
    "h": 260.2
  },
  "luminance": 0.01146
}

Semantic roles & 50–950 ramp

primary
#041A41
secondary
#825E1F
accent
#B229FF
background
#F4F4F7
surface
#E7E8ED
border
#C3C4C8
text
#020308
muted
#78787B

Preview Lab

Preview with #041A41

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

Preview Lab → · Contrast checker → · Palette generator →

#041A41 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva