#041A3A#041A3A

#041A3A is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.2% C 0.068 H 257.5°. Best body text is #FFFFFF at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#041A3A
RGBrgb(4, 26, 58)
HSLhsl(216, 87%, 12%)
HSVhsv(216, 93%, 23%)
CMYKcmyk(93.1%, 55.2%, 0%, 77.3%)
CIE-LABlab(9.56, 5.70, -23.22)
CIE-LCHlch(9.56, 23.91, 283.78°)
OKLaboklab(22.21% -0.0148 -0.0668)
OKLCHoklch(22.21% 0.068 257.5)
XYZxyz(1.1829, 1.0699, 4.1463)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041A3A #3A2404
analogous
#04353A #041A3A #09043A
triadic
#041A3A #3A041A #1A3A04
tetradic
#041A3A #3A0435 #3A2404 #043A09
square
#041A3A #3A0435 #3A2404 #043A09
split-complementary
#041A3A #3A0904 #353A04
monochromatic
#020D1D #020D1D #041A3A #083473 #0C4DAD

Accessibility & contrast

On white

17.30
#041A3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#041A3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041A3A
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041A3A#FFFFFF#000000##FFFFFF
##041A3A1.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081D3B
Deuteranopia (green-blind)
#001839
Tritanopia (blue-blind)
#002227
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #041a3a;
/* rgb */ color: rgb(4, 26, 58);
/* oklch */ color: oklch(22.2% 0.068 257.5);
Tailwind
colors: {
  custom: {
    50: '#4e5570',
    500: '#041a3a',
    950: '#000000',
  },
}
SCSS
$custom: #041a3a;
$custom-light: #4e5570;
$custom-dark: #000000;
JSON
{
  "hex": "#041a3a",
  "rgb": {
    "r": 4,
    "g": 26,
    "b": 58
  },
  "hsl": {
    "h": 215.556,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22205,
    "c": 0.06837,
    "h": 257.5
  },
  "luminance": 0.0107
}

Semantic roles & 50–950 ramp

primary
#041A3A
secondary
#7C561E
accent
#A72BFD
background
#F4F4F6
surface
#E7E8EC
border
#C3C4C7
text
#020307
muted
#78787A

Preview Lab

Preview with #041A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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