#041734#041734

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

Color values

HEX#041734
RGBrgb(4, 23, 52)
HSLhsl(216, 86%, 11%)
HSVhsv(216, 92%, 20%)
CMYKcmyk(92.3%, 55.8%, 0%, 79.6%)
CIE-LABlab(8.01, 5.20, -21.39)
CIE-LCHlch(8.01, 22.01, 283.67°)
OKLaboklab(20.85% -0.0132 -0.0615)
OKLCHoklch(20.85% 0.063 257.9)
XYZxyz(0.9761, 0.8864, 3.3678)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041734 #342104
analogous
#042F34 #041734 #090434
triadic
#041734 #340417 #173404
tetradic
#041734 #34042F #342104 #043409
square
#041734 #34042F #342104 #043409
split-complementary
#041734 #340904 #2F3404
monochromatic
#020D1C #020D1C #041734 #08306D #0D49A6

Accessibility & contrast

On white

17.84
#041734 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #041734
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041734#FFFFFF#000000##FFFFFF
##0417341.0017.841.1817.84
#FFFFFF17.841.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071A35
Deuteranopia (green-blind)
#001533
Tritanopia (blue-blind)
#001E22
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #041734;
/* rgb */ color: rgb(4, 23, 52);
/* oklch */ color: oklch(20.9% 0.063 257.9);
Tailwind
colors: {
  custom: {
    50: '#4c536c',
    500: '#041734',
    950: '#000000',
  },
}
SCSS
$custom: #041734;
$custom-light: #4c536c;
$custom-dark: #000000;
JSON
{
  "hex": "#041734",
  "rgb": {
    "r": 4,
    "g": 23,
    "b": 52
  },
  "hsl": {
    "h": 216.25,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.20852,
    "c": 0.06286,
    "h": 257.9
  },
  "luminance": 0.00887
}

Semantic roles & 50–950 ramp

primary
#041734
secondary
#76531E
accent
#AA2CFC
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010207
muted
#77787A

Preview Lab

Preview with #041734

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

Preview Lab → · Contrast checker → · Palette generator →

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