#050322#050322

#050322 is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 13.5% C 0.066 H 277.6°. Best body text is #FFFFFF at 20.14:1 contrast (WCAG AA passes).

Color values

HEX#050322
RGBrgb(5, 3, 34)
HSLhsl(244, 84%, 7%)
HSVhsv(244, 91%, 13%)
CMYKcmyk(85.3%, 91.2%, 0%, 86.7%)
CIE-LABlab(1.92, 7.44, -17.40)
CIE-LCHlch(1.92, 18.93, 293.14°)
OKLaboklab(13.53% 0.0087 -0.0652)
OKLCHoklch(13.53% 0.066 277.6)
XYZxyz(0.3838, 0.2128, 1.5339)
Luminance0.0021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050322 #202203
analogous
#031122 #050322 #150322
triadic
#050322 #220503 #032205
tetradic
#050322 #220311 #202203 #032215
square
#050322 #220311 #202203 #032215
split-complementary
#050322 #221503 #112203
monochromatic
#04021C #04021C #050322 #0D085A #160D92

Accessibility & contrast

On white

20.14
#050322 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#050322 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050322
20.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050322#FFFFFF#000000##FFFFFF
##0503221.0020.141.0420.14
#FFFFFF20.141.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000823
Deuteranopia (green-blind)
#000621
Tritanopia (blue-blind)
#000A11
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #050322;
/* rgb */ color: rgb(5, 3, 34);
/* oklch */ color: oklch(13.5% 0.066 277.6);
Tailwind
colors: {
  custom: {
    50: '#48485d',
    500: '#050322',
    950: '#000000',
  },
}
SCSS
$custom: #050322;
$custom-light: #48485d;
$custom-dark: #000000;
JSON
{
  "hex": "#050322",
  "rgb": {
    "r": 5,
    "g": 3,
    "b": 34
  },
  "hsl": {
    "h": 243.871,
    "s": 83.784,
    "l": 7.255
  },
  "oklch": {
    "l": 0.1353,
    "c": 0.06579,
    "h": 277.6
  },
  "luminance": 0.00213
}

Semantic roles & 50–950 ramp

primary
#050322
secondary
#61661B
accent
#FA2EED
background
#F4F4F5
surface
#E6E6E9
border
#C2C2C5
text
#010004
muted
#777779

Preview Lab

Preview with #050322

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

Preview Lab → · Contrast checker → · Palette generator →

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