#041034#041034

#041034 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.0% C 0.074 H 264.5°. Best body text is #FFFFFF at 18.60:1 contrast (WCAG AA passes).

Color values

HEX#041034
RGBrgb(4, 16, 52)
HSLhsl(225, 86%, 11%)
HSVhsv(225, 92%, 20%)
CMYKcmyk(92.3%, 69.2%, 0%, 79.6%)
CIE-LABlab(5.82, 9.94, -24.91)
CIE-LCHlch(5.82, 26.82, 291.75°)
OKLaboklab(19.01% -0.007 -0.0732)
OKLCHoklch(19.01% 0.074 264.5)
XYZxyz(0.8550, 0.6442, 3.3274)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041034 #342804
analogous
#042834 #041034 #100434
triadic
#041034 #340410 #103404
tetradic
#041034 #340428 #342804 #043410
square
#041034 #340428 #342804 #043410
split-complementary
#041034 #341004 #283404
monochromatic
#02091C #02091C #041034 #08216D #0D33A6

Accessibility & contrast

On white

18.60
#041034 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#041034 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041034
18.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041034#FFFFFF#000000##FFFFFF
##0410341.0018.601.1318.60
#FFFFFF18.601.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001535
Deuteranopia (green-blind)
#001133
Tritanopia (blue-blind)
#00191F
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #041034;
/* rgb */ color: rgb(4, 16, 52);
/* oklch */ color: oklch(19.0% 0.074 264.5);
Tailwind
colors: {
  custom: {
    50: '#4c4e6c',
    500: '#041034',
    950: '#000000',
  },
}
SCSS
$custom: #041034;
$custom-light: #4c4e6c;
$custom-dark: #000000;
JSON
{
  "hex": "#041034",
  "rgb": {
    "r": 4,
    "g": 16,
    "b": 52
  },
  "hsl": {
    "h": 225,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.19009,
    "c": 0.07351,
    "h": 264.5
  },
  "luminance": 0.00644
}

Semantic roles & 50–950 ramp

primary
#041034
secondary
#76601E
accent
#C82CFC
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010107
muted
#77777A

Preview Lab

Preview with #041034

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

Preview Lab → · Contrast checker → · Palette generator →

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