#042C41#042C41

#042C41 is a dark, muted cyan. Relative luminance 0.022; OKLCH L 27.8% C 0.057 H 237.4°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#042C41
RGBrgb(4, 44, 65)
HSLhsl(201, 88%, 14%)
HSVhsv(201, 94%, 25%)
CMYKcmyk(93.8%, 32.3%, 0%, 74.5%)
CIE-LABlab(16.55, -4.48, -17.03)
CIE-LCHlch(16.55, 17.61, 255.27°)
OKLaboklab(27.84% -0.0308 -0.0482)
OKLCHoklch(27.84% 0.057 237.4)
XYZxyz(1.9045, 2.2086, 5.3259)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042C41 #411904
analogous
#044137 #042C41 #040D41
triadic
#042C41 #41042C #2C4104
tetradic
#042C41 #370441 #411904 #0D4104
square
#042C41 #370441 #411904 #0D4104
split-complementary
#042C41 #41040D #413704
monochromatic
#02141D #02141D #042C41 #08537B #0B7AB4

Accessibility & contrast

On white

14.57
#042C41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#042C41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042C41
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042C41#FFFFFF#000000##FFFFFF
##042C411.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222C42
Deuteranopia (green-blind)
#1A2641
Tritanopia (blue-blind)
#003133
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #042c41;
/* rgb */ color: rgb(4, 44, 65);
/* oklch */ color: oklch(27.8% 0.057 237.4);
Tailwind
colors: {
  custom: {
    50: '#516475',
    500: '#042c41',
    950: '#000000',
  },
}
SCSS
$custom: #042c41;
$custom-light: #516475;
$custom-dark: #000000;
JSON
{
  "hex": "#042c41",
  "rgb": {
    "r": 4,
    "g": 44,
    "b": 65
  },
  "hsl": {
    "h": 200.656,
    "s": 88.406,
    "l": 13.529
  },
  "oklch": {
    "l": 0.27838,
    "c": 0.05724,
    "h": 237.4
  },
  "luminance": 0.02209
}

Semantic roles & 50–950 ramp

primary
#042C41
secondary
#82411F
accent
#7329FF
background
#F4F6F7
surface
#E7EBED
border
#C3C6C8
text
#020508
muted
#787A7B

Preview Lab

Preview with #042C41

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

Preview Lab → · Contrast checker → · Palette generator →

#042C41 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva