#041735#041735

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

Color values

HEX#041735
RGBrgb(4, 23, 53)
HSLhsl(217, 86%, 11%)
HSVhsv(217, 92%, 21%)
CMYKcmyk(92.5%, 56.6%, 0%, 79.2%)
CIE-LABlab(8.09, 5.69, -21.98)
CIE-LCHlch(8.09, 22.71, 284.50°)
OKLaboklab(20.94% -0.013 -0.0632)
OKLCHoklch(20.94% 0.065 258.4)
XYZxyz(0.9988, 0.8955, 3.4877)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041735 #352204
analogous
#042F35 #041735 #090435
triadic
#041735 #350417 #173504
tetradic
#041735 #35042F #352204 #043509
square
#041735 #35042F #352204 #043509
split-complementary
#041735 #350904 #2F3504
monochromatic
#020C1C #020C1C #041735 #08306E #0D48A7

Accessibility & contrast

On white

17.81
#041735 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #041735
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041735#FFFFFF#000000##FFFFFF
##0417351.0017.811.1817.81
#FFFFFF17.811.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061A36
Deuteranopia (green-blind)
#001634
Tritanopia (blue-blind)
#001E23
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #041735;
/* rgb */ color: rgb(4, 23, 53);
/* oklch */ color: oklch(20.9% 0.065 258.4);
Tailwind
colors: {
  custom: {
    50: '#4d536c',
    500: '#041735',
    950: '#000000',
  },
}
SCSS
$custom: #041735;
$custom-light: #4d536c;
$custom-dark: #000000;
JSON
{
  "hex": "#041735",
  "rgb": {
    "r": 4,
    "g": 23,
    "b": 53
  },
  "hsl": {
    "h": 216.735,
    "s": 85.965,
    "l": 11.176
  },
  "oklch": {
    "l": 0.20941,
    "c": 0.06453,
    "h": 258.4
  },
  "luminance": 0.00896
}

Semantic roles & 50–950 ramp

primary
#041735
secondary
#77541E
accent
#AB2CFC
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020207
muted
#78787A

Preview Lab

Preview with #041735

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

Preview Lab → · Contrast checker → · Palette generator →

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