#052146#052146

#052146 is a dark, moderate cyan. Relative luminance 0.016; OKLCH L 25.2% C 0.077 H 256.8°. Best body text is #FFFFFF at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#052146
RGBrgb(5, 33, 70)
HSLhsl(214, 87%, 15%)
HSVhsv(214, 93%, 27%)
CMYKcmyk(92.9%, 52.9%, 0%, 72.5%)
CIE-LABlab(13.00, 6.07, -26.13)
CIE-LCHlch(13.00, 26.83, 283.07°)
OKLaboklab(25.17% -0.0176 -0.0751)
OKLCHoklch(25.17% 0.077 256.8)
XYZxyz(1.7115, 1.5620, 6.0044)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052146 #462A05
analogous
#054246 #052146 #0A0546
triadic
#052146 #460521 #214605
tetradic
#052146 #460542 #462A05 #05460A
square
#052146 #460542 #462A05 #05460A
split-complementary
#052146 #460A05 #424605
monochromatic
#020D1D #020D1D #052146 #093C7F #0D57B8

Accessibility & contrast

On white

16.00
#052146 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #052146
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052146#FFFFFF#000000##FFFFFF
##0521461.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2547
Deuteranopia (green-blind)
#001F45
Tritanopia (blue-blind)
#002A30
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #052146;
/* rgb */ color: rgb(5, 33, 70);
/* oklch */ color: oklch(25.2% 0.077 256.8);
Tailwind
colors: {
  custom: {
    50: '#525b7a',
    500: '#052146',
    950: '#000000',
  },
}
SCSS
$custom: #052146;
$custom-light: #525b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#052146",
  "rgb": {
    "r": 5,
    "g": 33,
    "b": 70
  },
  "hsl": {
    "h": 214.154,
    "s": 86.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.25173,
    "c": 0.07719,
    "h": 256.8
  },
  "luminance": 0.01562
}

Semantic roles & 50–950 ramp

primary
#052146
secondary
#865A21
accent
#A22BFD
background
#F4F5F7
surface
#E8E9ED
border
#C4C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #052146

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

Preview Lab → · Contrast checker → · Palette generator →

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