#042441#042441

#042441 is a dark, moderate cyan. Relative luminance 0.017; OKLCH L 25.5% C 0.066 H 250.0°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#042441
RGBrgb(4, 36, 65)
HSLhsl(209, 88%, 14%)
HSVhsv(209, 94%, 25%)
CMYKcmyk(93.8%, 44.6%, 0%, 74.5%)
CIE-LABlab(13.64, 1.29, -21.62)
CIE-LCHlch(13.64, 21.66, 273.40°)
OKLaboklab(25.55% -0.0225 -0.0618)
OKLCHoklch(25.55% 0.066 250)
XYZxyz(1.6347, 1.6690, 5.2360)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042441 #412104
analogous
#04413F #042441 #040541
triadic
#042441 #410424 #244104
tetradic
#042441 #3F0441 #412104 #054104
square
#042441 #3F0441 #412104 #054104
split-complementary
#042441 #410405 #413F04
monochromatic
#02101D #02101D #042441 #08447B #0B64B4

Accessibility & contrast

On white

15.74
#042441 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#042441 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042441
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042441#FFFFFF#000000##FFFFFF
##0424411.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162642
Deuteranopia (green-blind)
#0C2040
Tritanopia (blue-blind)
#002B2F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #042441;
/* rgb */ color: rgb(4, 36, 65);
/* oklch */ color: oklch(25.5% 0.066 250.0);
Tailwind
colors: {
  custom: {
    50: '#505e76',
    500: '#042441',
    950: '#000000',
  },
}
SCSS
$custom: #042441;
$custom-light: #505e76;
$custom-dark: #000000;
JSON
{
  "hex": "#042441",
  "rgb": {
    "r": 4,
    "g": 36,
    "b": 65
  },
  "hsl": {
    "h": 208.525,
    "s": 88.406,
    "l": 13.529
  },
  "oklch": {
    "l": 0.25547,
    "c": 0.06579,
    "h": 250
  },
  "luminance": 0.01669
}

Semantic roles & 50–950 ramp

primary
#042441
secondary
#824E1F
accent
#8F29FF
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020408
muted
#78797B

Preview Lab

Preview with #042441

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

Preview Lab → · Contrast checker → · Palette generator →

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