#041C39#041C39

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

Color values

HEX#041C39
RGBrgb(4, 28, 57)
HSLhsl(213, 87%, 12%)
HSVhsv(213, 93%, 22%)
CMYKcmyk(93%, 50.9%, 0%, 77.6%)
CIE-LABlab(10.20, 3.63, -21.48)
CIE-LCHlch(10.20, 21.79, 279.59°)
OKLaboklab(22.67% -0.0169 -0.0616)
OKLCHoklch(22.67% 0.064 254.7)
XYZxyz(1.2036, 1.1516, 4.0289)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041C39 #392104
analogous
#043739 #041C39 #070439
triadic
#041C39 #39041C #1C3904
tetradic
#041C39 #390437 #392104 #043907
square
#041C39 #390437 #392104 #043907
split-complementary
#041C39 #390704 #373904
monochromatic
#020E1D #020E1D #041C39 #083872 #0C54AB

Accessibility & contrast

On white

17.07
#041C39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#041C39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041C39
17.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041C39#FFFFFF#000000##FFFFFF
##041C391.0017.071.2317.07
#FFFFFF17.071.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1E3A
Deuteranopia (green-blind)
#041A38
Tritanopia (blue-blind)
#002327
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #041c39;
/* rgb */ color: rgb(4, 28, 57);
/* oklch */ color: oklch(22.7% 0.064 254.7);
Tailwind
colors: {
  custom: {
    50: '#4e576f',
    500: '#041c39',
    950: '#000000',
  },
}
SCSS
$custom: #041c39;
$custom-light: #4e576f;
$custom-dark: #000000;
JSON
{
  "hex": "#041c39",
  "rgb": {
    "r": 4,
    "g": 28,
    "b": 57
  },
  "hsl": {
    "h": 212.83,
    "s": 86.885,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22671,
    "c": 0.06388,
    "h": 254.7
  },
  "luminance": 0.01152
}

Semantic roles & 50–950 ramp

primary
#041C39
secondary
#7B511E
accent
#9E2BFD
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020307
muted
#78787A

Preview Lab

Preview with #041C39

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

Preview Lab → · Contrast checker → · Palette generator →

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