#052140#052140

#052140 is a very dark, moderate cyan. Relative luminance 0.015; OKLCH L 24.7% C 0.068 H 253.6°. Best body text is #FFFFFF at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#052140
RGBrgb(5, 33, 64)
HSLhsl(212, 86%, 14%)
HSVhsv(212, 92%, 25%)
CMYKcmyk(92.2%, 48.4%, 0%, 74.9%)
CIE-LABlab(12.54, 3.25, -22.67)
CIE-LCHlch(12.54, 22.91, 278.16°)
OKLaboklab(24.68% -0.0191 -0.065)
OKLCHoklch(24.68% 0.068 253.6)
XYZxyz(1.5315, 1.4900, 5.0564)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052140 #402405
analogous
#053E40 #052140 #060540
triadic
#052140 #400521 #214005
tetradic
#052140 #40053E #402405 #054006
square
#052140 #40053E #402405 #054006
split-complementary
#052140 #400605 #3E4005
monochromatic
#020F1C #020F1C #052140 #093E79 #0E5CB2

Accessibility & contrast

On white

16.18
#052140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#052140 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052140
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052140#FFFFFF#000000##FFFFFF
##0521401.0016.181.3016.18
#FFFFFF16.181.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112341
Deuteranopia (green-blind)
#061E3F
Tritanopia (blue-blind)
#00282D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #052140;
/* rgb */ color: rgb(5, 33, 64);
/* oklch */ color: oklch(24.7% 0.068 253.6);
Tailwind
colors: {
  custom: {
    50: '#505b75',
    500: '#052140',
    950: '#000000',
  },
}
SCSS
$custom: #052140;
$custom-light: #505b75;
$custom-dark: #000000;
JSON
{
  "hex": "#052140",
  "rgb": {
    "r": 5,
    "g": 33,
    "b": 64
  },
  "hsl": {
    "h": 211.525,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.24677,
    "c": 0.0677,
    "h": 253.6
  },
  "luminance": 0.0149
}

Semantic roles & 50–950 ramp

primary
#052140
secondary
#815320
accent
#992CFC
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020408
muted
#78797B

Preview Lab

Preview with #052140

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

Preview Lab → · Contrast checker → · Palette generator →

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