#041741#041741

#041741 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.1% C 0.084 H 262.3°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#041741
RGBrgb(4, 23, 65)
HSLhsl(221, 88%, 14%)
HSVhsv(221, 94%, 25%)
CMYKcmyk(93.8%, 64.6%, 0%, 74.5%)
CIE-LABlab(9.16, 11.45, -28.85)
CIE-LCHlch(9.16, 31.04, 291.65°)
OKLaboklab(22.09% -0.0113 -0.0834)
OKLCHoklch(22.09% 0.084 262.3)
XYZxyz(1.3103, 1.0201, 5.1278)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041741 #412E04
analogous
#043541 #041741 #0F0441
triadic
#041741 #410417 #174104
tetradic
#041741 #410435 #412E04 #04410F
square
#041741 #410435 #412E04 #04410F
split-complementary
#041741 #410F04 #354104
monochromatic
#020A1D #020A1D #041741 #082B7B #0B40B4

Accessibility & contrast

On white

17.44
#041741 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #041741
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041741#FFFFFF#000000##FFFFFF
##0417411.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D42
Deuteranopia (green-blind)
#001740
Tritanopia (blue-blind)
#002229
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #041741;
/* rgb */ color: rgb(4, 23, 65);
/* oklch */ color: oklch(22.1% 0.084 262.3);
Tailwind
colors: {
  custom: {
    50: '#515376',
    500: '#041741',
    950: '#000000',
  },
}
SCSS
$custom: #041741;
$custom-light: #515376;
$custom-dark: #000000;
JSON
{
  "hex": "#041741",
  "rgb": {
    "r": 4,
    "g": 23,
    "b": 65
  },
  "hsl": {
    "h": 221.311,
    "s": 88.406,
    "l": 13.529
  },
  "oklch": {
    "l": 0.22093,
    "c": 0.08416,
    "h": 262.3
  },
  "luminance": 0.0102
}

Semantic roles & 50–950 ramp

primary
#041741
secondary
#82631F
accent
#BC29FF
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020208
muted
#78787B

Preview Lab

Preview with #041741

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

Preview Lab → · Contrast checker → · Palette generator →

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