#050528#050528

#050528 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.0% C 0.071 H 273.7°. Best body text is #FFFFFF at 19.83:1 contrast (WCAG AA passes).

Color values

HEX#050528
RGBrgb(5, 5, 40)
HSLhsl(240, 78%, 9%)
HSVhsv(240, 88%, 16%)
CMYKcmyk(87.5%, 87.5%, 0%, 84.3%)
CIE-LABlab(2.66, 9.02, -20.93)
CIE-LCHlch(2.66, 22.79, 293.32°)
OKLaboklab(14.97% 0.0046 -0.0707)
OKLCHoklch(14.97% 0.071 273.7)
XYZxyz(0.4997, 0.2940, 2.0375)
Luminance0.0029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050528 #282805
analogous
#051728 #050528 #170528
triadic
#050528 #280505 #052805
tetradic
#050528 #280517 #282805 #052817
square
#050528 #280517 #282805 #052817
split-complementary
#050528 #281705 #172805
monochromatic
#03031B #03031B #050528 #0C0C5E #131395

Accessibility & contrast

On white

19.83
#050528 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#050528 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050528
19.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050528#FFFFFF#000000##FFFFFF
##0505281.0019.831.0619.83
#FFFFFF19.831.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B29
Deuteranopia (green-blind)
#000827
Tritanopia (blue-blind)
#000E15
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #050528;
/* rgb */ color: rgb(5, 5, 40);
/* oklch */ color: oklch(15.0% 0.071 273.7);
Tailwind
colors: {
  custom: {
    50: '#494962',
    500: '#050528',
    950: '#000000',
  },
}
SCSS
$custom: #050528;
$custom-light: #494962;
$custom-dark: #000000;
JSON
{
  "hex": "#050528",
  "rgb": {
    "r": 5,
    "g": 5,
    "b": 40
  },
  "hsl": {
    "h": 240,
    "s": 77.778,
    "l": 8.824
  },
  "oklch": {
    "l": 0.14971,
    "c": 0.07085,
    "h": 273.7
  },
  "luminance": 0.00294
}

Semantic roles & 50–950 ramp

primary
#050528
secondary
#6A6A1F
accent
#F434F4
background
#F4F4F5
surface
#E7E6EA
border
#C3C2C6
text
#010005
muted
#777779

Preview Lab

Preview with #050528

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

Preview Lab → · Contrast checker → · Palette generator →

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