#041835#041835

#041835 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.2% C 0.063 H 257.2°. Best body text is #FFFFFF at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#041835
RGBrgb(4, 24, 53)
HSLhsl(216, 86%, 11%)
HSVhsv(216, 92%, 21%)
CMYKcmyk(92.5%, 54.7%, 0%, 79.2%)
CIE-LABlab(8.45, 4.88, -21.41)
CIE-LCHlch(8.45, 21.96, 282.85°)
OKLaboklab(21.22% -0.0139 -0.0615)
OKLCHoklch(21.22% 0.063 257.2)
XYZxyz(1.0191, 0.9360, 3.4944)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041835 #352104
analogous
#043035 #041835 #080435
triadic
#041835 #350418 #183504
tetradic
#041835 #350430 #352104 #043508
square
#041835 #350430 #352104 #043508
split-complementary
#041835 #350804 #303504
monochromatic
#020D1C #020D1C #041835 #08326E #0D4CA7

Accessibility & contrast

On white

17.69
#041835 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#041835 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041835
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041835#FFFFFF#000000##FFFFFF
##0418351.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081B36
Deuteranopia (green-blind)
#011634
Tritanopia (blue-blind)
#001F23
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #041835;
/* rgb */ color: rgb(4, 24, 53);
/* oklch */ color: oklch(21.2% 0.063 257.2);
Tailwind
colors: {
  custom: {
    50: '#4d546c',
    500: '#041835',
    950: '#000000',
  },
}
SCSS
$custom: #041835;
$custom-light: #4d546c;
$custom-dark: #000000;
JSON
{
  "hex": "#041835",
  "rgb": {
    "r": 4,
    "g": 24,
    "b": 53
  },
  "hsl": {
    "h": 215.51,
    "s": 85.965,
    "l": 11.176
  },
  "oklch": {
    "l": 0.21217,
    "c": 0.06305,
    "h": 257.2
  },
  "luminance": 0.00936
}

Semantic roles & 50–950 ramp

primary
#041835
secondary
#77531E
accent
#A72CFC
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020207
muted
#78787A

Preview Lab

Preview with #041835

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

Preview Lab → · Contrast checker → · Palette generator →

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