#041B3A#041B3A

#041B3A is a very dark, moderate cyan. Relative luminance 0.011; OKLCH L 22.5% C 0.067 H 256.4°. Best body text is #FFFFFF at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#041B3A
RGBrgb(4, 27, 58)
HSLhsl(214, 87%, 12%)
HSVhsv(214, 93%, 23%)
CMYKcmyk(93.1%, 53.4%, 0%, 77.3%)
CIE-LABlab(9.91, 4.90, -22.65)
CIE-LCHlch(9.91, 23.17, 282.20°)
OKLaboklab(22.48% -0.0157 -0.065)
OKLCHoklch(22.48% 0.067 256.4)
XYZxyz(1.2054, 1.1150, 4.1539)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041B3A #3A2304
analogous
#04363A #041B3A #08043A
triadic
#041B3A #3A041B #1B3A04
tetradic
#041B3A #3A0436 #3A2304 #043A08
square
#041B3A #3A0436 #3A2304 #043A08
split-complementary
#041B3A #3A0804 #363A04
monochromatic
#020D1D #020D1D #041B3A #083673 #0C50AD

Accessibility & contrast

On white

17.17
#041B3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #041B3A
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041B3A#FFFFFF#000000##FFFFFF
##041B3A1.0017.171.2217.17
#FFFFFF17.171.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1E3B
Deuteranopia (green-blind)
#011939
Tritanopia (blue-blind)
#002227
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #041b3a;
/* rgb */ color: rgb(4, 27, 58);
/* oklch */ color: oklch(22.5% 0.067 256.4);
Tailwind
colors: {
  custom: {
    50: '#4e5670',
    500: '#041b3a',
    950: '#000000',
  },
}
SCSS
$custom: #041b3a;
$custom-light: #4e5670;
$custom-dark: #000000;
JSON
{
  "hex": "#041b3a",
  "rgb": {
    "r": 4,
    "g": 27,
    "b": 58
  },
  "hsl": {
    "h": 214.444,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22479,
    "c": 0.06692,
    "h": 256.4
  },
  "luminance": 0.01115
}

Semantic roles & 50–950 ramp

primary
#041B3A
secondary
#7C541E
accent
#A42BFD
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020307
muted
#78787A

Preview Lab

Preview with #041B3A

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

Preview Lab → · Contrast checker → · Palette generator →

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