#041335#041335

#041335 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.9% C 0.071 H 262.4°. Best body text is #FFFFFF at 18.26:1 contrast (WCAG AA passes).

Color values

HEX#041335
RGBrgb(4, 19, 53)
HSLhsl(222, 86%, 11%)
HSVhsv(222, 92%, 21%)
CMYKcmyk(92.5%, 64.2%, 0%, 79.2%)
CIE-LABlab(6.76, 8.65, -24.12)
CIE-LCHlch(6.76, 25.63, 289.73°)
OKLaboklab(19.87% -0.0094 -0.07)
OKLCHoklch(19.87% 0.071 262.4)
XYZxyz(0.9253, 0.7485, 3.4632)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041335 #352604
analogous
#042B35 #041335 #0D0435
triadic
#041335 #350413 #133504
tetradic
#041335 #35042B #352604 #04350D
square
#041335 #35042B #352604 #04350D
split-complementary
#041335 #350D04 #2B3504
monochromatic
#020A1C #020A1C #041335 #08276E #0D3CA7

Accessibility & contrast

On white

18.26
#041335 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#041335 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041335
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041335#FFFFFF#000000##FFFFFF
##0413351.0018.261.1518.26
#FFFFFF18.261.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001736
Deuteranopia (green-blind)
#001334
Tritanopia (blue-blind)
#001B21
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #041335;
/* rgb */ color: rgb(4, 19, 53);
/* oklch */ color: oklch(19.9% 0.071 262.4);
Tailwind
colors: {
  custom: {
    50: '#4d506c',
    500: '#041335',
    950: '#000000',
  },
}
SCSS
$custom: #041335;
$custom-light: #4d506c;
$custom-dark: #000000;
JSON
{
  "hex": "#041335",
  "rgb": {
    "r": 4,
    "g": 19,
    "b": 53
  },
  "hsl": {
    "h": 221.633,
    "s": 85.965,
    "l": 11.176
  },
  "oklch": {
    "l": 0.19873,
    "c": 0.07058,
    "h": 262.4
  },
  "luminance": 0.00749
}

Semantic roles & 50–950 ramp

primary
#041335
secondary
#775C1E
accent
#BC2CFC
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020207
muted
#78787A

Preview Lab

Preview with #041335

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

Preview Lab → · Contrast checker → · Palette generator →

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