#041634#041634

#041634 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.6% C 0.064 H 259.1°. Best body text is #FFFFFF at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#041634
RGBrgb(4, 22, 52)
HSLhsl(218, 86%, 11%)
HSVhsv(218, 92%, 20%)
CMYKcmyk(92.3%, 57.7%, 0%, 79.6%)
CIE-LABlab(7.65, 5.99, -21.96)
CIE-LCHlch(7.65, 22.76, 285.27°)
OKLaboklab(20.58% -0.0122 -0.0632)
OKLCHoklch(20.58% 0.064 259.1)
XYZxyz(0.9566, 0.8474, 3.3613)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041634 #342204
analogous
#042E34 #041634 #0A0434
triadic
#041634 #340416 #163404
tetradic
#041634 #34042E #342204 #04340A
square
#041634 #34042E #342204 #04340A
split-complementary
#041634 #340A04 #2E3404
monochromatic
#020C1C #020C1C #041634 #082E6D #0D46A6

Accessibility & contrast

On white

17.95
#041634 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#041634 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041634
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041634#FFFFFF#000000##FFFFFF
##0416341.0017.951.1717.95
#FFFFFF17.951.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051935
Deuteranopia (green-blind)
#001533
Tritanopia (blue-blind)
#001D22
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #041634;
/* rgb */ color: rgb(4, 22, 52);
/* oklch */ color: oklch(20.6% 0.064 259.1);
Tailwind
colors: {
  custom: {
    50: '#4d526c',
    500: '#041634',
    950: '#000000',
  },
}
SCSS
$custom: #041634;
$custom-light: #4d526c;
$custom-dark: #000000;
JSON
{
  "hex": "#041634",
  "rgb": {
    "r": 4,
    "g": 22,
    "b": 52
  },
  "hsl": {
    "h": 217.5,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.20577,
    "c": 0.06434,
    "h": 259.1
  },
  "luminance": 0.00848
}

Semantic roles & 50–950 ramp

primary
#041634
secondary
#76551E
accent
#AE2CFC
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010207
muted
#77787A

Preview Lab

Preview with #041634

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

Preview Lab → · Contrast checker → · Palette generator →

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