#041B3C#041B3C

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

Color values

HEX#041B3C
RGBrgb(4, 27, 60)
HSLhsl(215, 88%, 13%)
HSVhsv(215, 93%, 24%)
CMYKcmyk(93.3%, 55%, 0%, 76.5%)
CIE-LABlab(10.08, 5.86, -23.82)
CIE-LCHlch(10.08, 24.53, 283.82°)
OKLaboklab(22.65% -0.0153 -0.0685)
OKLCHoklch(22.65% 0.07 257.4)
XYZxyz(1.2573, 1.1358, 4.4270)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041B3C #3C2504
analogous
#04373C #041B3C #09043C
triadic
#041B3C #3C041B #1B3C04
tetradic
#041B3C #3C0437 #3C2504 #043C09
square
#041B3C #3C0437 #3C2504 #043C09
split-complementary
#041B3C #3C0904 #373C04
monochromatic
#020D1D #020D1D #041B3C #083575 #0C4FAF

Accessibility & contrast

On white

17.11
#041B3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#041B3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041B3C
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041B3C#FFFFFF#000000##FFFFFF
##041B3C1.0017.111.2317.11
#FFFFFF17.111.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081E3D
Deuteranopia (green-blind)
#00193B
Tritanopia (blue-blind)
#002328
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #041b3c;
/* rgb */ color: rgb(4, 27, 60);
/* oklch */ color: oklch(22.7% 0.070 257.4);
Tailwind
colors: {
  custom: {
    50: '#4f5672',
    500: '#041b3c',
    950: '#000000',
  },
}
SCSS
$custom: #041b3c;
$custom-light: #4f5672;
$custom-dark: #000000;
JSON
{
  "hex": "#041b3c",
  "rgb": {
    "r": 4,
    "g": 27,
    "b": 60
  },
  "hsl": {
    "h": 215.357,
    "s": 87.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22653,
    "c": 0.07017,
    "h": 257.4
  },
  "luminance": 0.01136
}

Semantic roles & 50–950 ramp

primary
#041B3C
secondary
#7E561E
accent
#A72AFE
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020308
muted
#78787B

Preview Lab

Preview with #041B3C

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

Preview Lab → · Contrast checker → · Palette generator →

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