#041639#041639

#041639 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.0% C 0.073 H 261.0°. Best body text is #FFFFFF at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#041639
RGBrgb(4, 22, 57)
HSLhsl(220, 87%, 12%)
HSVhsv(220, 93%, 22%)
CMYKcmyk(93%, 61.4%, 0%, 77.6%)
CIE-LABlab(8.08, 8.43, -24.89)
CIE-LCHlch(8.08, 26.28, 288.72°)
OKLaboklab(21.05% -0.0114 -0.0718)
OKLCHoklch(21.05% 0.073 261)
XYZxyz(1.0752, 0.8949, 3.9862)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041639 #392704
analogous
#043139 #041639 #0D0439
triadic
#041639 #390416 #163904
tetradic
#041639 #390431 #392704 #04390D
square
#041639 #390431 #392704 #04390D
split-complementary
#041639 #390D04 #313904
monochromatic
#020B1D #020B1D #041639 #082C72 #0C42AB

Accessibility & contrast

On white

17.81
#041639 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#041639 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041639
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041639#FFFFFF#000000##FFFFFF
##0416391.0017.811.1817.81
#FFFFFF17.811.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011A3A
Deuteranopia (green-blind)
#001538
Tritanopia (blue-blind)
#001F24
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #041639;
/* rgb */ color: rgb(4, 22, 57);
/* oklch */ color: oklch(21.0% 0.073 261.0);
Tailwind
colors: {
  custom: {
    50: '#4e5270',
    500: '#041639',
    950: '#000000',
  },
}
SCSS
$custom: #041639;
$custom-light: #4e5270;
$custom-dark: #000000;
JSON
{
  "hex": "#041639",
  "rgb": {
    "r": 4,
    "g": 22,
    "b": 57
  },
  "hsl": {
    "h": 219.623,
    "s": 86.885,
    "l": 11.961
  },
  "oklch": {
    "l": 0.21046,
    "c": 0.07267,
    "h": 261
  },
  "luminance": 0.00895
}

Semantic roles & 50–950 ramp

primary
#041639
secondary
#7B5B1E
accent
#B62BFD
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #041639

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

Preview Lab → · Contrast checker → · Palette generator →

#041639 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva