#041035#041035

#041035 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.1% C 0.075 H 264.7°. Best body text is #FFFFFF at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#041035
RGBrgb(4, 16, 53)
HSLhsl(225, 86%, 11%)
HSVhsv(225, 92%, 21%)
CMYKcmyk(92.5%, 69.8%, 0%, 79.2%)
CIE-LABlab(5.90, 10.50, -25.51)
CIE-LCHlch(5.90, 27.59, 292.37°)
OKLaboklab(19.12% -0.007 -0.0748)
OKLCHoklch(19.12% 0.075 264.7)
XYZxyz(0.8777, 0.6533, 3.4473)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041035 #352904
analogous
#042835 #041035 #100435
triadic
#041035 #350410 #103504
tetradic
#041035 #350428 #352904 #043510
square
#041035 #350428 #352904 #043510
split-complementary
#041035 #351004 #283504
monochromatic
#02091C #02091C #041035 #08216E #0D32A7

Accessibility & contrast

On white

18.57
#041035 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #041035
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041035#FFFFFF#000000##FFFFFF
##0410351.0018.571.1318.57
#FFFFFF18.571.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001536
Deuteranopia (green-blind)
#001134
Tritanopia (blue-blind)
#001920
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #041035;
/* rgb */ color: rgb(4, 16, 53);
/* oklch */ color: oklch(19.1% 0.075 264.7);
Tailwind
colors: {
  custom: {
    50: '#4d4e6d',
    500: '#041035',
    950: '#000000',
  },
}
SCSS
$custom: #041035;
$custom-light: #4d4e6d;
$custom-dark: #000000;
JSON
{
  "hex": "#041035",
  "rgb": {
    "r": 4,
    "g": 16,
    "b": 53
  },
  "hsl": {
    "h": 225.306,
    "s": 85.965,
    "l": 11.176
  },
  "oklch": {
    "l": 0.19116,
    "c": 0.07515,
    "h": 264.7
  },
  "luminance": 0.00653
}

Semantic roles & 50–950 ramp

primary
#041035
secondary
#77611E
accent
#C92CFC
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020107
muted
#78777A

Preview Lab

Preview with #041035

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

Preview Lab → · Contrast checker → · Palette generator →

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