#041534#041534

#041534 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.3% C 0.066 H 260.1°. Best body text is #FFFFFF at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#041534
RGBrgb(4, 21, 52)
HSLhsl(219, 86%, 11%)
HSVhsv(219, 92%, 20%)
CMYKcmyk(92.3%, 59.6%, 0%, 79.6%)
CIE-LABlab(7.32, 6.74, -22.50)
CIE-LCHlch(7.32, 23.49, 286.67°)
OKLaboklab(20.31% -0.0113 -0.0649)
OKLCHoklch(20.31% 0.066 260.1)
XYZxyz(0.9378, 0.8100, 3.3551)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041534 #342304
analogous
#042D34 #041534 #0B0434
triadic
#041534 #340415 #153404
tetradic
#041534 #34042D #342304 #04340B
square
#041534 #34042D #342304 #04340B
split-complementary
#041534 #340B04 #2D3404
monochromatic
#020B1C #020B1C #041534 #082C6D #0D43A6

Accessibility & contrast

On white

18.07
#041534 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#041534 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041534
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041534#FFFFFF#000000##FFFFFF
##0415341.0018.071.1618.07
#FFFFFF18.071.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031935
Deuteranopia (green-blind)
#001433
Tritanopia (blue-blind)
#001D22
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #041534;
/* rgb */ color: rgb(4, 21, 52);
/* oklch */ color: oklch(20.3% 0.066 260.1);
Tailwind
colors: {
  custom: {
    50: '#4d516c',
    500: '#041534',
    950: '#000000',
  },
}
SCSS
$custom: #041534;
$custom-light: #4d516c;
$custom-dark: #000000;
JSON
{
  "hex": "#041534",
  "rgb": {
    "r": 4,
    "g": 21,
    "b": 52
  },
  "hsl": {
    "h": 218.75,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.20306,
    "c": 0.06585,
    "h": 260.1
  },
  "luminance": 0.0081
}

Semantic roles & 50–950 ramp

primary
#041534
secondary
#76571E
accent
#B22CFC
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010207
muted
#77787A

Preview Lab

Preview with #041534

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

Preview Lab → · Contrast checker → · Palette generator →

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