#042941#042941

#042941 is a dark, moderate cyan. Relative luminance 0.020; OKLCH L 27.0% C 0.060 H 242.6°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#042941
RGBrgb(4, 41, 65)
HSLhsl(204, 88%, 14%)
HSVhsv(204, 94%, 25%)
CMYKcmyk(93.8%, 36.9%, 0%, 74.5%)
CIE-LABlab(15.45, -2.37, -18.75)
CIE-LCHlch(15.45, 18.90, 262.80°)
OKLaboklab(26.97% -0.0276 -0.0533)
OKLCHoklch(26.97% 0.06 242.6)
XYZxyz(1.7968, 1.9931, 5.2900)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042941 #411C04
analogous
#04413A #042941 #040A41
triadic
#042941 #410429 #294104
tetradic
#042941 #3A0441 #411C04 #0A4104
square
#042941 #3A0441 #411C04 #0A4104
split-complementary
#042941 #41040A #413A04
monochromatic
#02121D #02121D #042941 #084D7B #0B72B4

Accessibility & contrast

On white

15.02
#042941 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#042941 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042941
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042941#FFFFFF#000000##FFFFFF
##0429411.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2A42
Deuteranopia (green-blind)
#152441
Tritanopia (blue-blind)
#002F32
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #042941;
/* rgb */ color: rgb(4, 41, 65);
/* oklch */ color: oklch(27.0% 0.060 242.6);
Tailwind
colors: {
  custom: {
    50: '#506275',
    500: '#042941',
    950: '#000000',
  },
}
SCSS
$custom: #042941;
$custom-light: #506275;
$custom-dark: #000000;
JSON
{
  "hex": "#042941",
  "rgb": {
    "r": 4,
    "g": 41,
    "b": 65
  },
  "hsl": {
    "h": 203.607,
    "s": 88.406,
    "l": 13.529
  },
  "oklch": {
    "l": 0.26969,
    "c": 0.06004,
    "h": 242.6
  },
  "luminance": 0.01993
}

Semantic roles & 50–950 ramp

primary
#042941
secondary
#82461F
accent
#7D29FF
background
#F4F5F7
surface
#E7EAED
border
#C3C6C8
text
#020508
muted
#78797B

Preview Lab

Preview with #042941

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

Preview Lab → · Contrast checker → · Palette generator →

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