#042B41#042B41

#042B41 is a dark, muted cyan. Relative luminance 0.021; OKLCH L 27.5% C 0.058 H 239.2°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#042B41
RGBrgb(4, 43, 65)
HSLhsl(202, 88%, 14%)
HSVhsv(202, 94%, 25%)
CMYKcmyk(93.8%, 33.8%, 0%, 74.5%)
CIE-LABlab(16.18, -3.78, -17.60)
CIE-LCHlch(16.18, 18.01, 257.87°)
OKLaboklab(27.55% -0.0298 -0.0499)
OKLCHoklch(27.55% 0.058 239.2)
XYZxyz(1.8677, 2.1350, 5.3137)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042B41 #411A04
analogous
#044138 #042B41 #040C41
triadic
#042B41 #41042B #2B4104
tetradic
#042B41 #380441 #411A04 #0C4104
square
#042B41 #380441 #411A04 #0C4104
split-complementary
#042B41 #41040C #413804
monochromatic
#02131D #02131D #042B41 #08517B #0B77B4

Accessibility & contrast

On white

14.72
#042B41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#042B41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042B41
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042B41#FFFFFF#000000##FFFFFF
##042B411.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202B42
Deuteranopia (green-blind)
#182641
Tritanopia (blue-blind)
#003133
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #042b41;
/* rgb */ color: rgb(4, 43, 65);
/* oklch */ color: oklch(27.5% 0.058 239.2);
Tailwind
colors: {
  custom: {
    50: '#506475',
    500: '#042b41',
    950: '#000000',
  },
}
SCSS
$custom: #042b41;
$custom-light: #506475;
$custom-dark: #000000;
JSON
{
  "hex": "#042b41",
  "rgb": {
    "r": 4,
    "g": 43,
    "b": 65
  },
  "hsl": {
    "h": 201.639,
    "s": 88.406,
    "l": 13.529
  },
  "oklch": {
    "l": 0.27547,
    "c": 0.05812,
    "h": 239.2
  },
  "luminance": 0.02135
}

Semantic roles & 50–950 ramp

primary
#042B41
secondary
#82431F
accent
#7629FF
background
#F4F5F7
surface
#E7EAED
border
#C3C6C8
text
#020508
muted
#78797B

Preview Lab

Preview with #042B41

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

Preview Lab → · Contrast checker → · Palette generator →

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