#052840#052840

#052840 is a dark, muted cyan. Relative luminance 0.019; OKLCH L 26.7% C 0.059 H 243.7°. Best body text is #FFFFFF at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#052840
RGBrgb(5, 40, 64)
HSLhsl(204, 86%, 14%)
HSVhsv(204, 92%, 25%)
CMYKcmyk(92.2%, 37.5%, 0%, 74.9%)
CIE-LABlab(15.06, -1.94, -18.67)
CIE-LCHlch(15.06, 18.77, 264.06°)
OKLaboklab(26.65% -0.0262 -0.0531)
OKLCHoklch(26.65% 0.059 243.7)
XYZxyz(1.7464, 1.9198, 5.1280)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052840 #401D05
analogous
#05403A #052840 #050A40
triadic
#052840 #400528 #284005
tetradic
#052840 #3A0540 #401D05 #0A4005
square
#052840 #3A0540 #401D05 #0A4005
split-complementary
#052840 #40050A #403A05
monochromatic
#02121C #02121C #052840 #094B79 #0E6FB2

Accessibility & contrast

On white

15.17
#052840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#052840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052840
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052840#FFFFFF#000000##FFFFFF
##0528401.0015.171.3815.17
#FFFFFF15.171.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2941
Deuteranopia (green-blind)
#142340
Tritanopia (blue-blind)
#002E31
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #052840;
/* rgb */ color: rgb(5, 40, 64);
/* oklch */ color: oklch(26.7% 0.059 243.7);
Tailwind
colors: {
  custom: {
    50: '#506175',
    500: '#052840',
    950: '#000000',
  },
}
SCSS
$custom: #052840;
$custom-light: #506175;
$custom-dark: #000000;
JSON
{
  "hex": "#052840",
  "rgb": {
    "r": 5,
    "g": 40,
    "b": 64
  },
  "hsl": {
    "h": 204.407,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.26651,
    "c": 0.05921,
    "h": 243.7
  },
  "luminance": 0.0192
}

Semantic roles & 50–950 ramp

primary
#052840
secondary
#814720
accent
#812CFC
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020508
muted
#78797B

Preview Lab

Preview with #052840

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

Preview Lab → · Contrast checker → · Palette generator →

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