#041C41#041C41

#041C41 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.4% C 0.077 H 258.6°. Best body text is #FFFFFF at 16.83:1 contrast (WCAG AA passes).

Color values

HEX#041C41
RGBrgb(4, 28, 65)
HSLhsl(216, 88%, 14%)
HSVhsv(216, 94%, 25%)
CMYKcmyk(93.8%, 56.9%, 0%, 74.5%)
CIE-LABlab(10.83, 7.46, -26.13)
CIE-LCHlch(10.83, 27.17, 285.93°)
OKLaboklab(23.37% -0.0152 -0.0753)
OKLCHoklch(23.37% 0.077 258.6)
XYZxyz(1.4191, 1.2378, 5.1641)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041C41 #412904
analogous
#043A41 #041C41 #0A0441
triadic
#041C41 #41041C #1C4104
tetradic
#041C41 #41043A #412904 #04410A
square
#041C41 #41043A #412904 #04410A
split-complementary
#041C41 #410A04 #3A4104
monochromatic
#020C1D #020C1D #041C41 #08357B #0B4EB4

Accessibility & contrast

On white

16.83
#041C41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#041C41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041C41
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041C41#FFFFFF#000000##FFFFFF
##041C411.0016.831.2516.83
#FFFFFF16.831.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052042
Deuteranopia (green-blind)
#001B40
Tritanopia (blue-blind)
#00252B
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #041c41;
/* rgb */ color: rgb(4, 28, 65);
/* oklch */ color: oklch(23.4% 0.077 258.6);
Tailwind
colors: {
  custom: {
    50: '#505776',
    500: '#041c41',
    950: '#000000',
  },
}
SCSS
$custom: #041c41;
$custom-light: #505776;
$custom-dark: #000000;
JSON
{
  "hex": "#041c41",
  "rgb": {
    "r": 4,
    "g": 28,
    "b": 65
  },
  "hsl": {
    "h": 216.393,
    "s": 88.406,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23367,
    "c": 0.0768,
    "h": 258.6
  },
  "luminance": 0.01238
}

Semantic roles & 50–950 ramp

primary
#041C41
secondary
#825B1F
accent
#AB29FF
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020308
muted
#78787B

Preview Lab

Preview with #041C41

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

Preview Lab → · Contrast checker → · Palette generator →

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