#041135#041135

#041135 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.4% C 0.074 H 264.0°. Best body text is #FFFFFF at 18.47:1 contrast (WCAG AA passes).

Color values

HEX#041135
RGBrgb(4, 17, 53)
HSLhsl(224, 86%, 11%)
HSVhsv(224, 92%, 21%)
CMYKcmyk(92.5%, 67.9%, 0%, 79.2%)
CIE-LABlab(6.17, 9.92, -25.07)
CIE-LCHlch(6.17, 26.96, 291.59°)
OKLaboklab(19.36% -0.0077 -0.0732)
OKLCHoklch(19.36% 0.074 264)
XYZxyz(0.8929, 0.6836, 3.4524)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041135 #352804
analogous
#042935 #041135 #0F0435
triadic
#041135 #350411 #113504
tetradic
#041135 #350429 #352804 #04350F
square
#041135 #350429 #352804 #04350F
split-complementary
#041135 #350F04 #293504
monochromatic
#02091C #02091C #041135 #08236E #0D36A7

Accessibility & contrast

On white

18.47
#041135 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#041135 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041135
18.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041135#FFFFFF#000000##FFFFFF
##0411351.0018.471.1418.47
#FFFFFF18.471.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001636
Deuteranopia (green-blind)
#001134
Tritanopia (blue-blind)
#001A20
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #041135;
/* rgb */ color: rgb(4, 17, 53);
/* oklch */ color: oklch(19.4% 0.074 264.0);
Tailwind
colors: {
  custom: {
    50: '#4d4e6c',
    500: '#041135',
    950: '#000000',
  },
}
SCSS
$custom: #041135;
$custom-light: #4d4e6c;
$custom-dark: #000000;
JSON
{
  "hex": "#041135",
  "rgb": {
    "r": 4,
    "g": 17,
    "b": 53
  },
  "hsl": {
    "h": 224.082,
    "s": 85.965,
    "l": 11.176
  },
  "oklch": {
    "l": 0.19364,
    "c": 0.07364,
    "h": 264
  },
  "luminance": 0.00684
}

Semantic roles & 50–950 ramp

primary
#041135
secondary
#775F1E
accent
#C52CFC
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020107
muted
#78777A

Preview Lab

Preview with #041135

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

Preview Lab → · Contrast checker → · Palette generator →

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