#041736#041736

#041736 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.0% C 0.066 H 258.9°. Best body text is #FFFFFF at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#041736
RGBrgb(4, 23, 54)
HSLhsl(217, 86%, 11%)
HSVhsv(217, 93%, 21%)
CMYKcmyk(92.6%, 57.4%, 0%, 78.8%)
CIE-LABlab(8.17, 6.17, -22.58)
CIE-LCHlch(8.17, 23.40, 285.29°)
OKLaboklab(21.03% -0.0128 -0.0649)
OKLCHoklch(21.03% 0.066 258.9)
XYZxyz(1.0221, 0.9048, 3.6101)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041736 #362304
analogous
#043036 #041736 #0A0436
triadic
#041736 #360417 #173604
tetradic
#041736 #360430 #362304 #04360A
square
#041736 #360430 #362304 #04360A
split-complementary
#041736 #360A04 #303604
monochromatic
#020C1C #020C1C #041736 #082F6F #0C48A8

Accessibility & contrast

On white

17.78
#041736 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #041736
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041736#FFFFFF#000000##FFFFFF
##0417361.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051A37
Deuteranopia (green-blind)
#001635
Tritanopia (blue-blind)
#001E23
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #041736;
/* rgb */ color: rgb(4, 23, 54);
/* oklch */ color: oklch(21.0% 0.066 258.9);
Tailwind
colors: {
  custom: {
    50: '#4d536d',
    500: '#041736',
    950: '#000000',
  },
}
SCSS
$custom: #041736;
$custom-light: #4d536d;
$custom-dark: #000000;
JSON
{
  "hex": "#041736",
  "rgb": {
    "r": 4,
    "g": 23,
    "b": 54
  },
  "hsl": {
    "h": 217.2,
    "s": 86.207,
    "l": 11.373
  },
  "oklch": {
    "l": 0.21032,
    "c": 0.0662,
    "h": 258.9
  },
  "luminance": 0.00905
}

Semantic roles & 50–950 ramp

primary
#041736
secondary
#78561E
accent
#AD2BFC
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020207
muted
#78787A

Preview Lab

Preview with #041736

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

Preview Lab → · Contrast checker → · Palette generator →

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