#041732#041732

#041732 is a very dark, muted blue. Relative luminance 0.009; OKLCH L 20.7% C 0.059 H 256.8°. Best body text is #FFFFFF at 17.89:1 contrast (WCAG AA passes).

Color values

HEX#041732
RGBrgb(4, 23, 50)
HSLhsl(215, 85%, 11%)
HSVhsv(215, 92%, 20%)
CMYKcmyk(92%, 54%, 0%, 80.4%)
CIE-LABlab(7.85, 4.23, -20.19)
CIE-LCHlch(7.85, 20.62, 281.83°)
OKLaboklab(20.68% -0.0136 -0.0579)
OKLCHoklch(20.68% 0.06 256.8)
XYZxyz(0.9320, 0.8688, 3.1356)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041732 #321F04
analogous
#042E32 #041732 #080432
triadic
#041732 #320417 #173204
tetradic
#041732 #32042E #321F04 #043208
square
#041732 #32042E #321F04 #043208
split-complementary
#041732 #320804 #2E3204
monochromatic
#020D1C #020D1C #041732 #09316B #0D4BA3

Accessibility & contrast

On white

17.89
#041732 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #041732
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041732#FFFFFF#000000##FFFFFF
##0417321.0017.891.1717.89
#FFFFFF17.891.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091A33
Deuteranopia (green-blind)
#021531
Tritanopia (blue-blind)
#001D22
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #041732;
/* rgb */ color: rgb(4, 23, 50);
/* oklch */ color: oklch(20.7% 0.059 256.8);
Tailwind
colors: {
  custom: {
    50: '#4c536a',
    500: '#041732',
    950: '#000000',
  },
}
SCSS
$custom: #041732;
$custom-light: #4c536a;
$custom-dark: #000000;
JSON
{
  "hex": "#041732",
  "rgb": {
    "r": 4,
    "g": 23,
    "b": 50
  },
  "hsl": {
    "h": 215.217,
    "s": 85.185,
    "l": 10.588
  },
  "oklch": {
    "l": 0.20677,
    "c": 0.0595,
    "h": 256.8
  },
  "luminance": 0.00869
}

Semantic roles & 50–950 ramp

primary
#041732
secondary
#74501D
accent
#A62CFB
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #041732

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

Preview Lab → · Contrast checker → · Palette generator →

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