#050529#050529

#050529 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.1% C 0.072 H 273.5°. Best body text is #FFFFFF at 19.81:1 contrast (WCAG AA passes).

Color values

HEX#050529
RGBrgb(5, 5, 41)
HSLhsl(240, 78%, 9%)
HSVhsv(240, 88%, 16%)
CMYKcmyk(87.8%, 87.8%, 0%, 83.9%)
CIE-LABlab(2.72, 9.47, -21.60)
CIE-LCHlch(2.72, 23.59, 293.66°)
OKLaboklab(15.1% 0.0044 -0.0723)
OKLCHoklch(15.1% 0.072 273.5)
XYZxyz(0.5170, 0.3008, 2.1282)
Luminance0.0030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050529 #292905
analogous
#051729 #050529 #170529
triadic
#050529 #290505 #052905
tetradic
#050529 #290517 #292905 #052917
square
#050529 #290517 #292905 #052917
split-complementary
#050529 #291705 #172905
monochromatic
#03031B #03031B #050529 #0C0C60 #121296

Accessibility & contrast

On white

19.81
#050529 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050529
19.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050529#FFFFFF#000000##FFFFFF
##0505291.0019.811.0619.81
#FFFFFF19.811.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C2A
Deuteranopia (green-blind)
#000828
Tritanopia (blue-blind)
#000E16
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #050529;
/* rgb */ color: rgb(5, 5, 41);
/* oklch */ color: oklch(15.1% 0.072 273.5);
Tailwind
colors: {
  custom: {
    50: '#494963',
    500: '#050529',
    950: '#000000',
  },
}
SCSS
$custom: #050529;
$custom-light: #494963;
$custom-dark: #000000;
JSON
{
  "hex": "#050529",
  "rgb": {
    "r": 5,
    "g": 5,
    "b": 41
  },
  "hsl": {
    "h": 240,
    "s": 78.261,
    "l": 9.02
  },
  "oklch": {
    "l": 0.15102,
    "c": 0.07245,
    "h": 273.5
  },
  "luminance": 0.00301
}

Semantic roles & 50–950 ramp

primary
#050529
secondary
#6B6B1F
accent
#F533F5
background
#F4F4F5
surface
#E7E6EA
border
#C3C2C6
text
#010005
muted
#777779

Preview Lab

Preview with #050529

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

Preview Lab → · Contrast checker → · Palette generator →

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