#050632#050632

#050632 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.6% C 0.085 H 271.1°. Best body text is #FFFFFF at 19.47:1 contrast (WCAG AA passes).

Color values

HEX#050632
RGBrgb(5, 6, 50)
HSLhsl(239, 82%, 11%)
HSVhsv(239, 90%, 20%)
CMYKcmyk(90%, 88%, 0%, 80.4%)
CIE-LABlab(3.55, 13.52, -27.08)
CIE-LCHlch(3.55, 30.26, 296.53°)
OKLaboklab(16.56% 0.0017 -0.0846)
OKLCHoklch(16.56% 0.085 271.1)
XYZxyz(0.7032, 0.3927, 3.0557)
Luminance0.0039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050632 #323105
analogous
#051C32 #050632 #1A0532
triadic
#050632 #320506 #063205
tetradic
#050632 #32051C #323105 #05321A
square
#050632 #32051C #323105 #05321A
split-complementary
#050632 #321A05 #1C3205
monochromatic
#03031C #03031C #050632 #0B0D6A #1013A1

Accessibility & contrast

On white

19.47
#050632 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#050632 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050632
19.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050632#FFFFFF#000000##FFFFFF
##0506321.0019.471.0819.47
#FFFFFF19.471.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F33
Deuteranopia (green-blind)
#000A31
Tritanopia (blue-blind)
#00131B
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #050632;
/* rgb */ color: rgb(5, 6, 50);
/* oklch */ color: oklch(16.6% 0.085 271.1);
Tailwind
colors: {
  custom: {
    50: '#4c496a',
    500: '#050632',
    950: '#000000',
  },
}
SCSS
$custom: #050632;
$custom-light: #4c496a;
$custom-dark: #000000;
JSON
{
  "hex": "#050632",
  "rgb": {
    "r": 5,
    "g": 6,
    "b": 50
  },
  "hsl": {
    "h": 238.667,
    "s": 81.818,
    "l": 10.784
  },
  "oklch": {
    "l": 0.16562,
    "c": 0.08464,
    "h": 271.1
  },
  "luminance": 0.00393
}

Semantic roles & 50–950 ramp

primary
#050632
secondary
#73721F
accent
#F430F8
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #050632

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

Preview Lab → · Contrast checker → · Palette generator →

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