#041733#041733

#041733 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 20.8% C 0.061 H 257.3°. Best body text is #FFFFFF at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#041733
RGBrgb(4, 23, 51)
HSLhsl(216, 85%, 11%)
HSVhsv(216, 92%, 20%)
CMYKcmyk(92.2%, 54.9%, 0%, 80%)
CIE-LABlab(7.93, 4.72, -20.79)
CIE-LCHlch(7.93, 21.32, 282.78°)
OKLaboklab(20.76% -0.0134 -0.0597)
OKLCHoklch(20.76% 0.061 257.3)
XYZxyz(0.9538, 0.8775, 3.2504)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041733 #332004
analogous
#042E33 #041733 #080433
triadic
#041733 #330417 #173304
tetradic
#041733 #33042E #332004 #043308
square
#041733 #33042E #332004 #043308
split-complementary
#041733 #330804 #2E3304
monochromatic
#020D1C #020D1C #041733 #08316C #0D4AA4

Accessibility & contrast

On white

17.86
#041733 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#041733 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041733
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041733#FFFFFF#000000##FFFFFF
##0417331.0017.861.1817.86
#FFFFFF17.861.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081A34
Deuteranopia (green-blind)
#011532
Tritanopia (blue-blind)
#001E22
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #041733;
/* rgb */ color: rgb(4, 23, 51);
/* oklch */ color: oklch(20.8% 0.061 257.3);
Tailwind
colors: {
  custom: {
    50: '#4c536b',
    500: '#041733',
    950: '#000000',
  },
}
SCSS
$custom: #041733;
$custom-light: #4c536b;
$custom-dark: #000000;
JSON
{
  "hex": "#041733",
  "rgb": {
    "r": 4,
    "g": 23,
    "b": 51
  },
  "hsl": {
    "h": 215.745,
    "s": 85.455,
    "l": 10.784
  },
  "oklch": {
    "l": 0.20764,
    "c": 0.06118,
    "h": 257.3
  },
  "luminance": 0.00878
}

Semantic roles & 50–950 ramp

primary
#041733
secondary
#75521D
accent
#A82CFC
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #041733

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

Preview Lab → · Contrast checker → · Palette generator →

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