#052342#052342

#052342 is a dark, moderate cyan. Relative luminance 0.016; OKLCH L 25.4% C 0.068 H 252.5°. Best body text is #FFFFFF at 15.84:1 contrast (WCAG AA passes).

Color values

HEX#052342
RGBrgb(5, 35, 66)
HSLhsl(210, 86%, 14%)
HSVhsv(210, 92%, 26%)
CMYKcmyk(92.4%, 47%, 0%, 74.1%)
CIE-LABlab(13.40, 2.67, -22.71)
CIE-LCHlch(13.40, 22.86, 276.70°)
OKLaboklab(25.39% -0.0205 -0.065)
OKLCHoklch(25.39% 0.068 252.5)
XYZxyz(1.6466, 1.6275, 5.3805)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052342 #422405
analogous
#054242 #052342 #060542
triadic
#052342 #420523 #234205
tetradic
#052342 #420542 #422405 #054206
square
#052342 #420542 #422405 #054206
split-complementary
#052342 #420605 #424205
monochromatic
#020F1C #020F1C #052342 #09417B #0E5FB4

Accessibility & contrast

On white

15.84
#052342 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#052342 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052342
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052342#FFFFFF#000000##FFFFFF
##0523421.0015.841.3315.84
#FFFFFF15.841.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142543
Deuteranopia (green-blind)
#092041
Tritanopia (blue-blind)
#002A2F
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #052342;
/* rgb */ color: rgb(5, 35, 66);
/* oklch */ color: oklch(25.4% 0.068 252.5);
Tailwind
colors: {
  custom: {
    50: '#515d76',
    500: '#052342',
    950: '#000000',
  },
}
SCSS
$custom: #052342;
$custom-light: #515d76;
$custom-dark: #000000;
JSON
{
  "hex": "#052342",
  "rgb": {
    "r": 5,
    "g": 35,
    "b": 66
  },
  "hsl": {
    "h": 210.492,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.25387,
    "c": 0.06817,
    "h": 252.5
  },
  "luminance": 0.01628
}

Semantic roles & 50–950 ramp

primary
#052342
secondary
#825220
accent
#962CFC
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020408
muted
#78797B

Preview Lab

Preview with #052342

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

Preview Lab → · Contrast checker → · Palette generator →

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