#050321#050321

#050321 is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 13.4% C 0.064 H 278.0°. Best body text is #FFFFFF at 20.17:1 contrast (WCAG AA passes).

Color values

HEX#050321
RGBrgb(5, 3, 33)
HSLhsl(244, 83%, 7%)
HSVhsv(244, 91%, 13%)
CMYKcmyk(84.8%, 90.9%, 0%, 87.1%)
CIE-LABlab(1.87, 7.07, -16.69)
CIE-LCHlch(1.87, 18.13, 292.96°)
OKLaboklab(13.4% 0.009 -0.0636)
OKLCHoklch(13.4% 0.064 278)
XYZxyz(0.3696, 0.2072, 1.4591)
Luminance0.0021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050321 #1F2103
analogous
#031021 #050321 #140321
triadic
#050321 #210503 #032105
tetradic
#050321 #210310 #1F2103 #032114
square
#050321 #210310 #1F2103 #032114
split-complementary
#050321 #211403 #102103
monochromatic
#04031C #04031C #050321 #0E0859 #160D91

Accessibility & contrast

On white

20.17
#050321 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050321
20.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050321#FFFFFF#000000##FFFFFF
##0503211.0020.171.0420.17
#FFFFFF20.171.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000822
Deuteranopia (green-blind)
#000620
Tritanopia (blue-blind)
#000A10
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #050321;
/* rgb */ color: rgb(5, 3, 33);
/* oklch */ color: oklch(13.4% 0.064 278.0);
Tailwind
colors: {
  custom: {
    50: '#48485c',
    500: '#050321',
    950: '#000000',
  },
}
SCSS
$custom: #050321;
$custom-light: #48485c;
$custom-dark: #000000;
JSON
{
  "hex": "#050321",
  "rgb": {
    "r": 5,
    "g": 3,
    "b": 33
  },
  "hsl": {
    "h": 244,
    "s": 83.333,
    "l": 7.059
  },
  "oklch": {
    "l": 0.13395,
    "c": 0.0642,
    "h": 278
  },
  "luminance": 0.00207
}

Semantic roles & 50–950 ramp

primary
#050321
secondary
#60651B
accent
#FA2EEC
background
#F4F4F5
surface
#E6E6E9
border
#C2C2C5
text
#000004
muted
#777779

Preview Lab

Preview with #050321

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

Preview Lab → · Contrast checker → · Palette generator →

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