#050327#050327

#050327 is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 14.2% C 0.074 H 275.6°. Best body text is #FFFFFF at 20.02:1 contrast (WCAG AA passes).

Color values

HEX#050327
RGBrgb(5, 3, 39)
HSLhsl(243, 86%, 8%)
HSVhsv(243, 92%, 15%)
CMYKcmyk(87.2%, 92.3%, 0%, 84.7%)
CIE-LABlab(2.20, 9.40, -20.87)
CIE-LCHlch(2.20, 22.89, 294.25°)
OKLaboklab(14.22% 0.0071 -0.0732)
OKLCHoklch(14.22% 0.074 275.6)
XYZxyz(0.4612, 0.2438, 1.9418)
Luminance0.0024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050327 #252703
analogous
#031327 #050327 #170327
triadic
#050327 #270503 #032705
tetradic
#050327 #270313 #252703 #032717
square
#050327 #270313 #252703 #032717
split-complementary
#050327 #271703 #132703
monochromatic
#04021C #04021C #050327 #0C0760 #140C99

Accessibility & contrast

On white

20.02
#050327 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#050327 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050327
20.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050327#FFFFFF#000000##FFFFFF
##0503271.0020.021.0520.02
#FFFFFF20.021.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A28
Deuteranopia (green-blind)
#000726
Tritanopia (blue-blind)
#000C14
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #050327;
/* rgb */ color: rgb(5, 3, 39);
/* oklch */ color: oklch(14.2% 0.074 275.6);
Tailwind
colors: {
  custom: {
    50: '#494861',
    500: '#050327',
    950: '#000000',
  },
}
SCSS
$custom: #050327;
$custom-light: #494861;
$custom-dark: #000000;
JSON
{
  "hex": "#050327",
  "rgb": {
    "r": 5,
    "g": 3,
    "b": 39
  },
  "hsl": {
    "h": 243.333,
    "s": 85.714,
    "l": 8.235
  },
  "oklch": {
    "l": 0.1422,
    "c": 0.0736,
    "h": 275.6
  },
  "luminance": 0.00244
}

Semantic roles & 50–950 ramp

primary
#050327
secondary
#676B1B
accent
#FC2CF0
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010005
muted
#777779

Preview Lab

Preview with #050327

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

Preview Lab → · Contrast checker → · Palette generator →

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