#041B41#041B41

#041B41 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.1% C 0.078 H 259.4°. Best body text is #FFFFFF at 16.96:1 contrast (WCAG AA passes).

Color values

HEX#041B41
RGBrgb(4, 27, 65)
HSLhsl(217, 88%, 14%)
HSVhsv(217, 94%, 25%)
CMYKcmyk(93.8%, 58.5%, 0%, 74.5%)
CIE-LABlab(10.49, 8.25, -26.68)
CIE-LCHlch(10.49, 27.93, 287.18°)
OKLaboklab(23.11% -0.0144 -0.0769)
OKLCHoklch(23.11% 0.078 259.4)
XYZxyz(1.3958, 1.1912, 5.1564)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041B41 #412A04
analogous
#043941 #041B41 #0B0441
triadic
#041B41 #41041B #1B4104
tetradic
#041B41 #410439 #412A04 #04410B
square
#041B41 #410439 #412A04 #04410B
split-complementary
#041B41 #410B04 #394104
monochromatic
#020C1D #020C1D #041B41 #08337B #0B4BB4

Accessibility & contrast

On white

16.96
#041B41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#041B41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041B41
16.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041B41#FFFFFF#000000##FFFFFF
##041B411.0016.961.2416.96
#FFFFFF16.961.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031F42
Deuteranopia (green-blind)
#001A40
Tritanopia (blue-blind)
#00242A
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #041b41;
/* rgb */ color: rgb(4, 27, 65);
/* oklch */ color: oklch(23.1% 0.078 259.4);
Tailwind
colors: {
  custom: {
    50: '#515676',
    500: '#041b41',
    950: '#000000',
  },
}
SCSS
$custom: #041b41;
$custom-light: #515676;
$custom-dark: #000000;
JSON
{
  "hex": "#041b41",
  "rgb": {
    "r": 4,
    "g": 27,
    "b": 65
  },
  "hsl": {
    "h": 217.377,
    "s": 88.406,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23106,
    "c": 0.07826,
    "h": 259.4
  },
  "luminance": 0.01191
}

Semantic roles & 50–950 ramp

primary
#041B41
secondary
#825D1F
accent
#AE29FF
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020308
muted
#78787B

Preview Lab

Preview with #041B41

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

Preview Lab → · Contrast checker → · Palette generator →

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