#052942#052942

#052942 is a dark, moderate cyan. Relative luminance 0.020; OKLCH L 27.1% C 0.061 H 244.2°. Best body text is #FFFFFF at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#052942
RGBrgb(5, 41, 66)
HSLhsl(205, 86%, 14%)
HSVhsv(205, 92%, 26%)
CMYKcmyk(92.4%, 37.9%, 0%, 74.1%)
CIE-LABlab(15.55, -1.76, -19.29)
CIE-LCHlch(15.55, 19.37, 264.79°)
OKLaboklab(27.07% -0.0266 -0.0549)
OKLCHoklch(27.07% 0.061 244.2)
XYZxyz(1.8385, 2.0113, 5.4445)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052942 #421E05
analogous
#05423D #052942 #050B42
triadic
#052942 #420529 #294205
tetradic
#052942 #3D0542 #421E05 #0B4205
square
#052942 #3D0542 #421E05 #0B4205
split-complementary
#052942 #42050B #423D05
monochromatic
#02121C #02121C #052942 #094C7B #0E70B4

Accessibility & contrast

On white

14.98
#052942 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #052942
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052942#FFFFFF#000000##FFFFFF
##0529421.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #052942;
/* rgb */ color: rgb(5, 41, 66);
/* oklch */ color: oklch(27.1% 0.061 244.2);
Tailwind
colors: {
  custom: {
    50: '#516276',
    500: '#052942',
    950: '#000000',
  },
}
SCSS
$custom: #052942;
$custom-light: #516276;
$custom-dark: #000000;
JSON
{
  "hex": "#052942",
  "rgb": {
    "r": 5,
    "g": 41,
    "b": 66
  },
  "hsl": {
    "h": 204.59,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.27074,
    "c": 0.06097,
    "h": 244.2
  },
  "luminance": 0.02011
}

Semantic roles & 50–950 ramp

primary
#052942
secondary
#824920
accent
#812CFC
background
#F4F5F7
surface
#E7EAED
border
#C3C6C8
text
#020508
muted
#78797B

Preview Lab

Preview with #052942

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

Preview Lab → · Contrast checker → · Palette generator →

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