#042341#042341

#042341 is a dark, moderate cyan. Relative luminance 0.016; OKLCH L 25.3% C 0.067 H 251.2°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#042341
RGBrgb(4, 35, 65)
HSLhsl(210, 88%, 14%)
HSVhsv(210, 94%, 25%)
CMYKcmyk(93.8%, 46.2%, 0%, 74.5%)
CIE-LABlab(13.29, 2.04, -22.19)
CIE-LCHlch(13.29, 22.28, 275.25°)
OKLaboklab(25.27% -0.0216 -0.0635)
OKLCHoklch(25.27% 0.067 251.2)
XYZxyz(1.6049, 1.6093, 5.2260)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042341 #412204
analogous
#044140 #042341 #040441
triadic
#042341 #410423 #234104
tetradic
#042341 #400441 #412204 #044104
square
#042341 #400441 #412204 #044104
split-complementary
#042341 #410404 #414004
monochromatic
#02101D #02101D #042341 #08427B #0B61B4

Accessibility & contrast

On white

15.89
#042341 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#042341 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042341
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042341#FFFFFF#000000##FFFFFF
##0423411.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142542
Deuteranopia (green-blind)
#092040
Tritanopia (blue-blind)
#002A2E
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #042341;
/* rgb */ color: rgb(4, 35, 65);
/* oklch */ color: oklch(25.3% 0.067 251.2);
Tailwind
colors: {
  custom: {
    50: '#505d76',
    500: '#042341',
    950: '#000000',
  },
}
SCSS
$custom: #042341;
$custom-light: #505d76;
$custom-dark: #000000;
JSON
{
  "hex": "#042341",
  "rgb": {
    "r": 4,
    "g": 35,
    "b": 65
  },
  "hsl": {
    "h": 209.508,
    "s": 88.406,
    "l": 13.529
  },
  "oklch": {
    "l": 0.25267,
    "c": 0.06706,
    "h": 251.2
  },
  "luminance": 0.0161
}

Semantic roles & 50–950 ramp

primary
#042341
secondary
#82501F
accent
#9229FF
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020408
muted
#78797B

Preview Lab

Preview with #042341

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

Preview Lab → · Contrast checker → · Palette generator →

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