#041A3B#041A3B

#041A3B is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.3% C 0.070 H 258.0°. Best body text is #FFFFFF at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#041A3B
RGBrgb(4, 26, 59)
HSLhsl(216, 87%, 12%)
HSVhsv(216, 93%, 23%)
CMYKcmyk(93.2%, 55.9%, 0%, 76.9%)
CIE-LABlab(9.64, 6.18, -23.80)
CIE-LCHlch(9.64, 24.59, 284.55°)
OKLaboklab(22.29% -0.0146 -0.0685)
OKLCHoklch(22.29% 0.07 258)
XYZxyz(1.2086, 1.0802, 4.2816)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041A3B #3B2504
analogous
#04363B #041A3B #09043B
triadic
#041A3B #3B041A #1A3B04
tetradic
#041A3B #3B0436 #3B2504 #043B09
square
#041A3B #3B0436 #3B2504 #043B09
split-complementary
#041A3B #3B0904 #363B04
monochromatic
#020D1D #020D1D #041A3B #083374 #0C4DAE

Accessibility & contrast

On white

17.27
#041A3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#041A3B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041A3B
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041A3B#FFFFFF#000000##FFFFFF
##041A3B1.0017.271.2217.27
#FFFFFF17.271.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071D3C
Deuteranopia (green-blind)
#00183A
Tritanopia (blue-blind)
#002227
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #041a3b;
/* rgb */ color: rgb(4, 26, 59);
/* oklch */ color: oklch(22.3% 0.070 258.0);
Tailwind
colors: {
  custom: {
    50: '#4f5571',
    500: '#041a3b',
    950: '#000000',
  },
}
SCSS
$custom: #041a3b;
$custom-light: #4f5571;
$custom-dark: #000000;
JSON
{
  "hex": "#041a3b",
  "rgb": {
    "r": 4,
    "g": 26,
    "b": 59
  },
  "hsl": {
    "h": 216,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22294,
    "c": 0.07,
    "h": 258
  },
  "luminance": 0.0108
}

Semantic roles & 50–950 ramp

primary
#041A3B
secondary
#7D571E
accent
#A92AFD
background
#F4F4F6
surface
#E7E8EC
border
#C3C4C7
text
#020307
muted
#78787A

Preview Lab

Preview with #041A3B

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

Preview Lab → · Contrast checker → · Palette generator →

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