#050832#050832

#050832 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.0% C 0.082 H 270.2°. Best body text is #FFFFFF at 19.32:1 contrast (WCAG AA passes).

Color values

HEX#050832
RGBrgb(5, 8, 50)
HSLhsl(236, 82%, 11%)
HSVhsv(236, 90%, 20%)
CMYKcmyk(90%, 84%, 0%, 80.4%)
CIE-LABlab(3.94, 12.72, -26.45)
CIE-LCHlch(3.94, 29.35, 295.68°)
OKLaboklab(17.03% 0.0003 -0.0815)
OKLCHoklch(17.03% 0.082 270.2)
XYZxyz(0.7249, 0.4361, 3.0630)
Luminance0.0044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050832 #322F05
analogous
#051E32 #050832 #180532
triadic
#050832 #320508 #083205
tetradic
#050832 #32051E #322F05 #053218
square
#050832 #32051E #322F05 #053218
split-complementary
#050832 #321805 #1E3205
monochromatic
#03041C #03041C #050832 #0B116A #101AA1

Accessibility & contrast

On white

19.32
#050832 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#050832 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050832
19.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050832#FFFFFF#000000##FFFFFF
##0508321.0019.321.0919.32
#FFFFFF19.321.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001033
Deuteranopia (green-blind)
#000C31
Tritanopia (blue-blind)
#00141C
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #050832;
/* rgb */ color: rgb(5, 8, 50);
/* oklch */ color: oklch(17.0% 0.082 270.2);
Tailwind
colors: {
  custom: {
    50: '#4c4a6a',
    500: '#050832',
    950: '#000000',
  },
}
SCSS
$custom: #050832;
$custom-light: #4c4a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#050832",
  "rgb": {
    "r": 5,
    "g": 8,
    "b": 50
  },
  "hsl": {
    "h": 236,
    "s": 81.818,
    "l": 10.784
  },
  "oklch": {
    "l": 0.17027,
    "c": 0.08151,
    "h": 270.2
  },
  "luminance": 0.00436
}

Semantic roles & 50–950 ramp

primary
#050832
secondary
#736E1F
accent
#EB30F8
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #050832

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

Preview Lab → · Contrast checker → · Palette generator →

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