#041533#041533

#041533 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.2% C 0.064 H 259.7°. Best body text is #FFFFFF at 18.10:1 contrast (WCAG AA passes).

Color values

HEX#041533
RGBrgb(4, 21, 51)
HSLhsl(218, 85%, 11%)
HSVhsv(218, 92%, 20%)
CMYKcmyk(92.2%, 58.8%, 0%, 80%)
CIE-LABlab(7.24, 6.24, -21.90)
CIE-LCHlch(7.24, 22.77, 285.89°)
OKLaboklab(20.21% -0.0115 -0.0631)
OKLCHoklch(20.21% 0.064 259.7)
XYZxyz(0.9156, 0.8010, 3.2377)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041533 #332204
analogous
#042C33 #041533 #0A0433
triadic
#041533 #330415 #153304
tetradic
#041533 #33042C #332204 #04330A
square
#041533 #33042C #332204 #04330A
split-complementary
#041533 #330A04 #2C3304
monochromatic
#020C1C #020C1C #041533 #082C6C #0D44A4

Accessibility & contrast

On white

18.10
#041533 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#041533 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041533
18.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041533#FFFFFF#000000##FFFFFF
##0415331.0018.101.1618.10
#FFFFFF18.101.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041834
Deuteranopia (green-blind)
#001432
Tritanopia (blue-blind)
#001C21
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #041533;
/* rgb */ color: rgb(4, 21, 51);
/* oklch */ color: oklch(20.2% 0.064 259.7);
Tailwind
colors: {
  custom: {
    50: '#4c516b',
    500: '#041533',
    950: '#000000',
  },
}
SCSS
$custom: #041533;
$custom-light: #4c516b;
$custom-dark: #000000;
JSON
{
  "hex": "#041533",
  "rgb": {
    "r": 4,
    "g": 21,
    "b": 51
  },
  "hsl": {
    "h": 218.298,
    "s": 85.455,
    "l": 10.784
  },
  "oklch": {
    "l": 0.20213,
    "c": 0.06417,
    "h": 259.7
  },
  "luminance": 0.00801
}

Semantic roles & 50–950 ramp

primary
#041533
secondary
#75561D
accent
#B12CFC
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #041533

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

Preview Lab → · Contrast checker → · Palette generator →

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