#052240#052240

#052240 is a very dark, moderate cyan. Relative luminance 0.015; OKLCH L 25.0% C 0.066 H 252.4°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#052240
RGBrgb(5, 34, 64)
HSLhsl(211, 86%, 14%)
HSVhsv(211, 92%, 25%)
CMYKcmyk(92.2%, 46.9%, 0%, 74.9%)
CIE-LABlab(12.90, 2.49, -22.11)
CIE-LCHlch(12.90, 22.25, 276.43°)
OKLaboklab(24.95% -0.02 -0.0633)
OKLCHoklch(24.95% 0.066 252.4)
XYZxyz(1.5597, 1.5463, 5.0658)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052240 #402305
analogous
#053F40 #052240 #050540
triadic
#052240 #400522 #224005
tetradic
#052240 #40053F #402305 #054005
square
#052240 #40053F #402305 #054005
split-complementary
#052240 #400505 #3F4005
monochromatic
#020F1C #020F1C #052240 #094079 #0E5EB2

Accessibility & contrast

On white

16.04
#052240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#052240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052240
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052240#FFFFFF#000000##FFFFFF
##0522401.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132441
Deuteranopia (green-blind)
#091F3F
Tritanopia (blue-blind)
#00292D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #052240;
/* rgb */ color: rgb(5, 34, 64);
/* oklch */ color: oklch(25.0% 0.066 252.4);
Tailwind
colors: {
  custom: {
    50: '#505c75',
    500: '#052240',
    950: '#000000',
  },
}
SCSS
$custom: #052240;
$custom-light: #505c75;
$custom-dark: #000000;
JSON
{
  "hex": "#052240",
  "rgb": {
    "r": 5,
    "g": 34,
    "b": 64
  },
  "hsl": {
    "h": 210.508,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.24953,
    "c": 0.06637,
    "h": 252.4
  },
  "luminance": 0.01546
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #052240

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

Preview Lab → · Contrast checker → · Palette generator →

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