#052642#052642

#052642 is a dark, moderate cyan. Relative luminance 0.018; OKLCH L 26.2% C 0.064 H 248.6°. Best body text is #FFFFFF at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#052642
RGBrgb(5, 38, 66)
HSLhsl(208, 86%, 14%)
HSVhsv(208, 92%, 26%)
CMYKcmyk(92.4%, 42.4%, 0%, 74.1%)
CIE-LABlab(14.47, 0.43, -21.00)
CIE-LCHlch(14.47, 21.01, 271.16°)
OKLaboklab(26.22% -0.0235 -0.0599)
OKLCHoklch(26.22% 0.064 248.6)
XYZxyz(1.7387, 1.8116, 5.4112)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052642 #422105
analogous
#054240 #052642 #050842
triadic
#052642 #420526 #264205
tetradic
#052642 #400542 #422105 #084205
square
#052642 #400542 #422105 #084205
split-complementary
#052642 #420508 #424005
monochromatic
#02101C #02101C #052642 #09477B #0E68B4

Accessibility & contrast

On white

15.41
#052642 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#052642 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052642
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052642#FFFFFF#000000##FFFFFF
##0526421.0015.411.3615.41
#FFFFFF15.411.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192843
Deuteranopia (green-blind)
#0F2241
Tritanopia (blue-blind)
#002D30
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #052642;
/* rgb */ color: rgb(5, 38, 66);
/* oklch */ color: oklch(26.2% 0.064 248.6);
Tailwind
colors: {
  custom: {
    50: '#515f76',
    500: '#052642',
    950: '#000000',
  },
}
SCSS
$custom: #052642;
$custom-light: #515f76;
$custom-dark: #000000;
JSON
{
  "hex": "#052642",
  "rgb": {
    "r": 5,
    "g": 38,
    "b": 66
  },
  "hsl": {
    "h": 207.541,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.26224,
    "c": 0.06437,
    "h": 248.6
  },
  "luminance": 0.01812
}

Semantic roles & 50–950 ramp

primary
#052642
secondary
#824D20
accent
#8B2CFC
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020408
muted
#78797B

Preview Lab

Preview with #052642

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

Preview Lab → · Contrast checker → · Palette generator →

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