#041D39#041D39

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

Color values

HEX#041D39
RGBrgb(4, 29, 57)
HSLhsl(212, 87%, 12%)
HSVhsv(212, 93%, 22%)
CMYKcmyk(93%, 49.1%, 0%, 77.6%)
CIE-LABlab(10.56, 2.85, -20.90)
CIE-LCHlch(10.56, 21.10, 277.76°)
OKLaboklab(22.95% -0.0179 -0.0599)
OKLCHoklch(22.95% 0.063 253.4)
XYZxyz(1.2277, 1.1998, 4.0370)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041D39 #392004
analogous
#043839 #041D39 #060439
triadic
#041D39 #39041D #1D3904
tetradic
#041D39 #390438 #392004 #043906
square
#041D39 #390438 #392004 #043906
split-complementary
#041D39 #390604 #383904
monochromatic
#020F1D #020F1D #041D39 #083A72 #0C57AB

Accessibility & contrast

On white

16.94
#041D39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #041D39
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041D39#FFFFFF#000000##FFFFFF
##041D391.0016.941.2416.94
#FFFFFF16.941.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1F3A
Deuteranopia (green-blind)
#061A38
Tritanopia (blue-blind)
#002428
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #041d39;
/* rgb */ color: rgb(4, 29, 57);
/* oklch */ color: oklch(23.0% 0.063 253.4);
Tailwind
colors: {
  custom: {
    50: '#4e586f',
    500: '#041d39',
    950: '#000000',
  },
}
SCSS
$custom: #041d39;
$custom-light: #4e586f;
$custom-dark: #000000;
JSON
{
  "hex": "#041d39",
  "rgb": {
    "r": 4,
    "g": 29,
    "b": 57
  },
  "hsl": {
    "h": 211.698,
    "s": 86.885,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22951,
    "c": 0.0625,
    "h": 253.4
  },
  "luminance": 0.012
}

Semantic roles & 50–950 ramp

primary
#041D39
secondary
#7B4F1E
accent
#9A2BFD
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020307
muted
#78787A

Preview Lab

Preview with #041D39

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

Preview Lab → · Contrast checker → · Palette generator →

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