#050532#050532

#050532 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.3% C 0.086 H 271.5°. Best body text is #FFFFFF at 19.55:1 contrast (WCAG AA passes).

Color values

HEX#050532
RGBrgb(5, 5, 50)
HSLhsl(240, 82%, 11%)
HSVhsv(240, 90%, 20%)
CMYKcmyk(90%, 90%, 0%, 80.4%)
CIE-LABlab(3.35, 13.92, -27.39)
CIE-LCHlch(3.35, 30.72, 296.94°)
OKLaboklab(16.32% 0.0023 -0.0862)
OKLCHoklch(16.32% 0.086 271.5)
XYZxyz(0.6924, 0.3710, 3.0521)
Luminance0.0037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050532 #323205
analogous
#051B32 #050532 #1B0532
triadic
#050532 #320505 #053205
tetradic
#050532 #32051B #323205 #05321B
square
#050532 #32051B #323205 #05321B
split-complementary
#050532 #321B05 #1B3205
monochromatic
#03031C #03031C #050532 #0B0B6A #1010A1

Accessibility & contrast

On white

19.55
#050532 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#050532 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050532
19.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050532#FFFFFF#000000##FFFFFF
##0505321.0019.551.0719.55
#FFFFFF19.551.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E33
Deuteranopia (green-blind)
#000A31
Tritanopia (blue-blind)
#00121B
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #050532;
/* rgb */ color: rgb(5, 5, 50);
/* oklch */ color: oklch(16.3% 0.086 271.5);
Tailwind
colors: {
  custom: {
    50: '#4c486a',
    500: '#050532',
    950: '#000000',
  },
}
SCSS
$custom: #050532;
$custom-light: #4c486a;
$custom-dark: #000000;
JSON
{
  "hex": "#050532",
  "rgb": {
    "r": 5,
    "g": 5,
    "b": 50
  },
  "hsl": {
    "h": 240,
    "s": 81.818,
    "l": 10.784
  },
  "oklch": {
    "l": 0.16319,
    "c": 0.08628,
    "h": 271.5
  },
  "luminance": 0.00371
}

Semantic roles & 50–950 ramp

primary
#050532
secondary
#73731F
accent
#F830F8
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #050532

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

Preview Lab → · Contrast checker → · Palette generator →

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