#052046#052046

#052046 is a very dark, moderate blue. Relative luminance 0.015; OKLCH L 24.9% C 0.079 H 257.7°. Best body text is #FFFFFF at 16.14:1 contrast (WCAG AA passes).

Color values

HEX#052046
RGBrgb(5, 32, 70)
HSLhsl(215, 87%, 15%)
HSVhsv(215, 93%, 27%)
CMYKcmyk(92.9%, 54.3%, 0%, 72.5%)
CIE-LABlab(12.65, 6.84, -26.68)
CIE-LCHlch(12.65, 27.55, 284.38°)
OKLaboklab(24.91% -0.0168 -0.0768)
OKLCHoklch(24.91% 0.079 257.7)
XYZxyz(1.6842, 1.5073, 5.9953)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052046 #462B05
analogous
#054146 #052046 #0B0546
triadic
#052046 #460520 #204605
tetradic
#052046 #460541 #462B05 #05460B
square
#052046 #460541 #462B05 #05460B
split-complementary
#052046 #460B05 #414605
monochromatic
#020D1D #020D1D #052046 #093A7F #0D54B8

Accessibility & contrast

On white

16.14
#052046 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #052046
16.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052046#FFFFFF#000000##FFFFFF
##0520461.0016.141.3016.14
#FFFFFF16.141.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2447
Deuteranopia (green-blind)
#001E45
Tritanopia (blue-blind)
#00292F
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #052046;
/* rgb */ color: rgb(5, 32, 70);
/* oklch */ color: oklch(24.9% 0.079 257.7);
Tailwind
colors: {
  custom: {
    50: '#525a7a',
    500: '#052046',
    950: '#000000',
  },
}
SCSS
$custom: #052046;
$custom-light: #525a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#052046",
  "rgb": {
    "r": 5,
    "g": 32,
    "b": 70
  },
  "hsl": {
    "h": 215.077,
    "s": 86.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.24909,
    "c": 0.0786,
    "h": 257.7
  },
  "luminance": 0.01507
}

Semantic roles & 50–950 ramp

primary
#052046
secondary
#865C21
accent
#A62BFD
background
#F5F5F7
surface
#E8E9ED
border
#C4C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #052046

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

Preview Lab → · Contrast checker → · Palette generator →

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