#041C47#041C47

#041C47 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.9% C 0.086 H 260.5°. Best body text is #FFFFFF at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#041C47
RGBrgb(4, 28, 71)
HSLhsl(219, 89%, 15%)
HSVhsv(219, 94%, 28%)
CMYKcmyk(94.4%, 60.6%, 0%, 72.2%)
CIE-LABlab(11.35, 10.30, -29.49)
CIE-LCHlch(11.35, 31.24, 289.26°)
OKLaboklab(23.93% -0.0143 -0.0852)
OKLCHoklch(23.93% 0.086 260.5)
XYZxyz(1.6022, 1.3110, 6.1286)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041C47 #472F04
analogous
#043E47 #041C47 #0D0447
triadic
#041C47 #47041C #1C4704
tetradic
#041C47 #47043E #472F04 #04470D
square
#041C47 #47043E #472F04 #04470D
split-complementary
#041C47 #470D04 #3E4704
monochromatic
#020B1D #020B1D #041C47 #073381 #0B4ABB

Accessibility & contrast

On white

16.64
#041C47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#041C47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041C47
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041C47#FFFFFF#000000##FFFFFF
##041C471.0016.641.2616.64
#FFFFFF16.641.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002149
Deuteranopia (green-blind)
#001B46
Tritanopia (blue-blind)
#00272E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #041c47;
/* rgb */ color: rgb(4, 28, 71);
/* oklch */ color: oklch(23.9% 0.086 260.5);
Tailwind
colors: {
  custom: {
    50: '#52577b',
    500: '#041c47',
    950: '#000000',
  },
}
SCSS
$custom: #041c47;
$custom-light: #52577b;
$custom-dark: #000000;
JSON
{
  "hex": "#041c47",
  "rgb": {
    "r": 4,
    "g": 28,
    "b": 71
  },
  "hsl": {
    "h": 218.507,
    "s": 89.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.23928,
    "c": 0.08636,
    "h": 260.5
  },
  "luminance": 0.01311
}

Semantic roles & 50–950 ramp

primary
#041C47
secondary
#88621F
accent
#B229FF
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030309
muted
#78787B

Preview Lab

Preview with #041C47

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

Preview Lab → · Contrast checker → · Palette generator →

#041C47 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva