#052440#052440

#052440 is a dark, moderate cyan. Relative luminance 0.017; OKLCH L 25.5% C 0.064 H 249.8°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#052440
RGBrgb(5, 36, 64)
HSLhsl(208, 86%, 14%)
HSVhsv(208, 92%, 25%)
CMYKcmyk(92.2%, 43.8%, 0%, 74.9%)
CIE-LABlab(13.61, 0.99, -20.97)
CIE-LCHlch(13.61, 20.99, 272.69°)
OKLaboklab(25.51% -0.0221 -0.0599)
OKLCHoklch(25.51% 0.064 249.8)
XYZxyz(1.6185, 1.6640, 5.0854)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052440 #402105
analogous
#05403E #052440 #050640
triadic
#052440 #400524 #244005
tetradic
#052440 #3E0540 #402105 #064005
square
#052440 #3E0540 #402105 #064005
split-complementary
#052440 #400506 #403E05
monochromatic
#02101C #02101C #052440 #094479 #0E64B2

Accessibility & contrast

On white

15.76
#052440 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #052440
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052440#FFFFFF#000000##FFFFFF
##0524401.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172641
Deuteranopia (green-blind)
#0D203F
Tritanopia (blue-blind)
#002B2E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #052440;
/* rgb */ color: rgb(5, 36, 64);
/* oklch */ color: oklch(25.5% 0.064 249.8);
Tailwind
colors: {
  custom: {
    50: '#505e75',
    500: '#052440',
    950: '#000000',
  },
}
SCSS
$custom: #052440;
$custom-light: #505e75;
$custom-dark: #000000;
JSON
{
  "hex": "#052440",
  "rgb": {
    "r": 5,
    "g": 36,
    "b": 64
  },
  "hsl": {
    "h": 208.475,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.25513,
    "c": 0.0638,
    "h": 249.8
  },
  "luminance": 0.01664
}

Semantic roles & 50–950 ramp

primary
#052440
secondary
#814E20
accent
#8F2CFC
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020408
muted
#78797B

Preview Lab

Preview with #052440

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

Preview Lab → · Contrast checker → · Palette generator →

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