#041B39#041B39

#041B39 is a very dark, moderate cyan. Relative luminance 0.011; OKLCH L 22.4% C 0.065 H 255.9°. Best body text is #FFFFFF at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#041B39
RGBrgb(4, 27, 57)
HSLhsl(214, 87%, 12%)
HSVhsv(214, 93%, 22%)
CMYKcmyk(93%, 52.6%, 0%, 77.6%)
CIE-LABlab(9.84, 4.42, -22.06)
CIE-LCHlch(9.84, 22.50, 281.33°)
OKLaboklab(22.39% -0.0159 -0.0633)
OKLCHoklch(22.39% 0.065 255.9)
XYZxyz(1.1802, 1.1049, 4.0212)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041B39 #392204
analogous
#043639 #041B39 #070439
triadic
#041B39 #39041B #1B3904
tetradic
#041B39 #390436 #392204 #043907
square
#041B39 #390436 #392204 #043907
split-complementary
#041B39 #390704 #363904
monochromatic
#020E1D #020E1D #041B39 #083672 #0C51AB

Accessibility & contrast

On white

17.20
#041B39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #041B39
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041B39#FFFFFF#000000##FFFFFF
##041B391.0017.201.2217.20
#FFFFFF17.201.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #041b39;
/* rgb */ color: rgb(4, 27, 57);
/* oklch */ color: oklch(22.4% 0.065 255.9);
Tailwind
colors: {
  custom: {
    50: '#4e566f',
    500: '#041b39',
    950: '#000000',
  },
}
SCSS
$custom: #041b39;
$custom-light: #4e566f;
$custom-dark: #000000;
JSON
{
  "hex": "#041b39",
  "rgb": {
    "r": 4,
    "g": 27,
    "b": 57
  },
  "hsl": {
    "h": 213.962,
    "s": 86.885,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22393,
    "c": 0.06529,
    "h": 255.9
  },
  "luminance": 0.01105
}

Semantic roles & 50–950 ramp

primary
#041B39
secondary
#7B531E
accent
#A22BFD
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020307
muted
#78787A

Preview Lab

Preview with #041B39

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

Preview Lab → · Contrast checker → · Palette generator →

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