#041B36#041B36

#041B36 is a very dark, moderate cyan. Relative luminance 0.011; OKLCH L 22.1% C 0.060 H 254.0°. Best body text is #FFFFFF at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#041B36
RGBrgb(4, 27, 54)
HSLhsl(212, 86%, 11%)
HSVhsv(212, 93%, 21%)
CMYKcmyk(92.6%, 50%, 0%, 78.8%)
CIE-LABlab(9.61, 2.98, -20.27)
CIE-LCHlch(9.61, 20.49, 278.36°)
OKLaboklab(22.14% -0.0167 -0.0581)
OKLCHoklch(22.14% 0.06 254)
XYZxyz(1.1076, 1.0759, 3.6386)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041B36 #361F04
analogous
#043436 #041B36 #060436
triadic
#041B36 #36041B #1B3604
tetradic
#041B36 #360434 #361F04 #043606
square
#041B36 #360434 #361F04 #043606
split-complementary
#041B36 #360604 #343604
monochromatic
#020E1C #020E1C #041B36 #08376F #0C54A8

Accessibility & contrast

On white

17.28
#041B36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #041B36
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041B36#FFFFFF#000000##FFFFFF
##041B361.0017.281.2217.28
#FFFFFF17.281.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1D37
Deuteranopia (green-blind)
#051935
Tritanopia (blue-blind)
#002125
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #041b36;
/* rgb */ color: rgb(4, 27, 54);
/* oklch */ color: oklch(22.1% 0.060 254.0);
Tailwind
colors: {
  custom: {
    50: '#4d566d',
    500: '#041b36',
    950: '#000000',
  },
}
SCSS
$custom: #041b36;
$custom-light: #4d566d;
$custom-dark: #000000;
JSON
{
  "hex": "#041b36",
  "rgb": {
    "r": 4,
    "g": 27,
    "b": 54
  },
  "hsl": {
    "h": 212.4,
    "s": 86.207,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22142,
    "c": 0.06041,
    "h": 254
  },
  "luminance": 0.01076
}

Semantic roles & 50–950 ramp

primary
#041B36
secondary
#784F1E
accent
#9C2BFC
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020307
muted
#78787A

Preview Lab

Preview with #041B36

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

Preview Lab → · Contrast checker → · Palette generator →

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