#050522#050522

#050522 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 14.2% C 0.061 H 275.4°. Best body text is #FFFFFF at 19.98:1 contrast (WCAG AA passes).

Color values

HEX#050522
RGBrgb(5, 5, 34)
HSLhsl(240, 74%, 8%)
HSVhsv(240, 85%, 13%)
CMYKcmyk(85.3%, 85.3%, 0%, 86.7%)
CIE-LABlab(2.32, 6.63, -16.80)
CIE-LCHlch(2.32, 18.06, 291.54°)
OKLaboklab(14.21% 0.0057 -0.0607)
OKLCHoklch(14.21% 0.061 275.4)
XYZxyz(0.4055, 0.2563, 1.5412)
Luminance0.0026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050522 #222205
analogous
#051322 #050522 #130522
triadic
#050522 #220505 #052205
tetradic
#050522 #220513 #222205 #052213
square
#050522 #220513 #222205 #052213
split-complementary
#050522 #221305 #132205
monochromatic
#04041B #04041B #050522 #0D0D57 #15158D

Accessibility & contrast

On white

19.98
#050522 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#050522 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050522
19.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050522#FFFFFF#000000##FFFFFF
##0505221.0019.981.0519.98
#FFFFFF19.981.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A23
Deuteranopia (green-blind)
#000721
Tritanopia (blue-blind)
#000C12
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #050522;
/* rgb */ color: rgb(5, 5, 34);
/* oklch */ color: oklch(14.2% 0.061 275.4);
Tailwind
colors: {
  custom: {
    50: '#48495d',
    500: '#050522',
    950: '#000000',
  },
}
SCSS
$custom: #050522;
$custom-light: #48495d;
$custom-dark: #000000;
JSON
{
  "hex": "#050522",
  "rgb": {
    "r": 5,
    "g": 5,
    "b": 34
  },
  "hsl": {
    "h": 240,
    "s": 74.359,
    "l": 7.647
  },
  "oklch": {
    "l": 0.14211,
    "c": 0.06093,
    "h": 275.4
  },
  "luminance": 0.00256
}

Semantic roles & 50–950 ramp

primary
#050522
secondary
#63631F
accent
#F137F1
background
#F4F4F5
surface
#E6E6E9
border
#C2C2C5
text
#010004
muted
#777779

Preview Lab

Preview with #050522

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

Preview Lab → · Contrast checker → · Palette generator →

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