#041D3A#041D3A

#041D3A is a very dark, moderate cyan. Relative luminance 0.012; OKLCH L 23.0% C 0.064 H 254.0°. Best body text is #FFFFFF at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#041D3A
RGBrgb(4, 29, 58)
HSLhsl(212, 87%, 12%)
HSVhsv(212, 93%, 23%)
CMYKcmyk(93.1%, 50%, 0%, 77.3%)
CIE-LABlab(10.63, 3.33, -21.50)
CIE-LCHlch(10.63, 21.75, 278.80°)
OKLaboklab(23.03% -0.0176 -0.0616)
OKLCHoklch(23.03% 0.064 254)
XYZxyz(1.2529, 1.2099, 4.1697)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041D3A #3A2104
analogous
#04383A #041D3A #06043A
triadic
#041D3A #3A041D #1D3A04
tetradic
#041D3A #3A0438 #3A2104 #043A06
square
#041D3A #3A0438 #3A2104 #043A06
split-complementary
#041D3A #3A0604 #383A04
monochromatic
#020E1D #020E1D #041D3A #083A73 #0C56AD

Accessibility & contrast

On white

16.91
#041D3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#041D3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041D3A
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041D3A#FFFFFF#000000##FFFFFF
##041D3A1.0016.911.2416.91
#FFFFFF16.911.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1F3B
Deuteranopia (green-blind)
#051A39
Tritanopia (blue-blind)
#002428
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #041d3a;
/* rgb */ color: rgb(4, 29, 58);
/* oklch */ color: oklch(23.0% 0.064 254.0);
Tailwind
colors: {
  custom: {
    50: '#4e5870',
    500: '#041d3a',
    950: '#000000',
  },
}
SCSS
$custom: #041d3a;
$custom-light: #4e5870;
$custom-dark: #000000;
JSON
{
  "hex": "#041d3a",
  "rgb": {
    "r": 4,
    "g": 29,
    "b": 58
  },
  "hsl": {
    "h": 212.222,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23033,
    "c": 0.0641,
    "h": 254
  },
  "luminance": 0.0121
}

Semantic roles & 50–950 ramp

primary
#041D3A
secondary
#7C501E
accent
#9C2BFD
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020307
muted
#78787A

Preview Lab

Preview with #041D3A

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

Preview Lab → · Contrast checker → · Palette generator →

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