#041A3C#041A3C

#041A3C is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.4% C 0.072 H 258.4°. Best body text is #FFFFFF at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#041A3C
RGBrgb(4, 26, 60)
HSLhsl(216, 88%, 13%)
HSVhsv(216, 93%, 24%)
CMYKcmyk(93.3%, 56.7%, 0%, 76.5%)
CIE-LABlab(9.73, 6.66, -24.38)
CIE-LCHlch(9.73, 25.27, 285.27°)
OKLaboklab(22.38% -0.0144 -0.0702)
OKLCHoklch(22.38% 0.072 258.4)
XYZxyz(1.2348, 1.0907, 4.4195)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041A3C #3C2604
analogous
#04363C #041A3C #0A043C
triadic
#041A3C #3C041A #1A3C04
tetradic
#041A3C #3C0436 #3C2604 #043C0A
square
#041A3C #3C0436 #3C2604 #043C0A
split-complementary
#041A3C #3C0A04 #363C04
monochromatic
#020C1D #020C1D #041A3C #083375 #0C4CAF

Accessibility & contrast

On white

17.24
#041A3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #041A3C
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041A3C#FFFFFF#000000##FFFFFF
##041A3C1.0017.241.2217.24
#FFFFFF17.241.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061E3D
Deuteranopia (green-blind)
#00193B
Tritanopia (blue-blind)
#002228
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #041a3c;
/* rgb */ color: rgb(4, 26, 60);
/* oklch */ color: oklch(22.4% 0.072 258.4);
Tailwind
colors: {
  custom: {
    50: '#4f5572',
    500: '#041a3c',
    950: '#000000',
  },
}
SCSS
$custom: #041a3c;
$custom-light: #4f5572;
$custom-dark: #000000;
JSON
{
  "hex": "#041a3c",
  "rgb": {
    "r": 4,
    "g": 26,
    "b": 60
  },
  "hsl": {
    "h": 216.429,
    "s": 87.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22384,
    "c": 0.07164,
    "h": 258.4
  },
  "luminance": 0.01091
}

Semantic roles & 50–950 ramp

primary
#041A3C
secondary
#7E581E
accent
#AB2AFE
background
#F4F4F6
surface
#E7E8EC
border
#C3C4C7
text
#020308
muted
#78787B

Preview Lab

Preview with #041A3C

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

Preview Lab → · Contrast checker → · Palette generator →

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