#041635#041635

#041635 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 20.7% C 0.066 H 259.5°. Best body text is #FFFFFF at 17.93:1 contrast (WCAG AA passes).

Color values

HEX#041635
RGBrgb(4, 22, 53)
HSLhsl(218, 86%, 11%)
HSVhsv(218, 92%, 21%)
CMYKcmyk(92.5%, 58.5%, 0%, 79.2%)
CIE-LABlab(7.74, 6.48, -22.55)
CIE-LCHlch(7.74, 23.46, 286.04°)
OKLaboklab(20.67% -0.012 -0.0649)
OKLCHoklch(20.67% 0.066 259.5)
XYZxyz(0.9793, 0.8566, 3.4812)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041635 #352304
analogous
#042E35 #041635 #0A0435
triadic
#041635 #350416 #163504
tetradic
#041635 #35042E #352304 #04350A
square
#041635 #35042E #352304 #04350A
split-complementary
#041635 #350A04 #2E3504
monochromatic
#020C1C #020C1C #041635 #082E6E #0D45A7

Accessibility & contrast

On white

17.93
#041635 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #041635
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041635#FFFFFF#000000##FFFFFF
##0416351.0017.931.1717.93
#FFFFFF17.931.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #041635;
/* rgb */ color: rgb(4, 22, 53);
/* oklch */ color: oklch(20.7% 0.066 259.5);
Tailwind
colors: {
  custom: {
    50: '#4d526c',
    500: '#041635',
    950: '#000000',
  },
}
SCSS
$custom: #041635;
$custom-light: #4d526c;
$custom-dark: #000000;
JSON
{
  "hex": "#041635",
  "rgb": {
    "r": 4,
    "g": 22,
    "b": 53
  },
  "hsl": {
    "h": 217.959,
    "s": 85.965,
    "l": 11.176
  },
  "oklch": {
    "l": 0.20669,
    "c": 0.06603,
    "h": 259.5
  },
  "luminance": 0.00857
}

Semantic roles & 50–950 ramp

primary
#041635
secondary
#77561E
accent
#B02CFC
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020207
muted
#78787A

Preview Lab

Preview with #041635

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

Preview Lab → · Contrast checker → · Palette generator →

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