#050546#050546

#050546 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.2% C 0.114 H 268.7°. Best body text is #FFFFFF at 18.81:1 contrast (WCAG AA passes).

Color values

HEX#050546
RGBrgb(5, 5, 70)
HSLhsl(240, 87%, 15%)
HSVhsv(240, 93%, 27%)
CMYKcmyk(92.9%, 92.9%, 0%, 72.5%)
CIE-LABlab(5.27, 25.47, -38.77)
CIE-LCHlch(5.27, 46.39, 303.31°)
OKLaboklab(19.19% -0.0026 -0.1142)
OKLCHoklch(19.19% 0.114 268.7)
XYZxyz(1.2220, 0.5829, 5.8413)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050546 #464605
analogous
#052646 #050546 #260546
triadic
#050546 #460505 #054605
tetradic
#050546 #460526 #464605 #054626
square
#050546 #460526 #464605 #054626
split-complementary
#050546 #462605 #264605
monochromatic
#02021D #02021D #050546 #09097F #0D0DB8

Accessibility & contrast

On white

18.81
#050546 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#050546 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050546
18.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050546#FFFFFF#000000##FFFFFF
##0505461.0018.811.1218.81
#FFFFFF18.811.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001548
Deuteranopia (green-blind)
#000E45
Tritanopia (blue-blind)
#001A26
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #050546;
/* rgb */ color: rgb(5, 5, 70);
/* oklch */ color: oklch(19.2% 0.114 268.7);
Tailwind
colors: {
  custom: {
    50: '#54477a',
    500: '#050546',
    950: '#000000',
  },
}
SCSS
$custom: #050546;
$custom-light: #54477a;
$custom-dark: #000000;
JSON
{
  "hex": "#050546",
  "rgb": {
    "r": 5,
    "g": 5,
    "b": 70
  },
  "hsl": {
    "h": 240,
    "s": 86.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.19187,
    "c": 0.11419,
    "h": 268.7
  },
  "luminance": 0.00583
}

Semantic roles & 50–950 ramp

primary
#050546
secondary
#868621
accent
#FD2BFD
background
#F5F4F7
surface
#E9E6EE
border
#C5C2C9
text
#030009
muted
#78777B

Preview Lab

Preview with #050546

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

Preview Lab → · Contrast checker → · Palette generator →

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