#050328#050328

#050328 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 14.4% C 0.075 H 275.2°. Best body text is #FFFFFF at 20.00:1 contrast (WCAG AA passes).

Color values

HEX#050328
RGBrgb(5, 3, 40)
HSLhsl(243, 86%, 8%)
HSVhsv(243, 93%, 16%)
CMYKcmyk(87.5%, 92.5%, 0%, 84.3%)
CIE-LABlab(2.26, 9.83, -21.55)
CIE-LCHlch(2.26, 23.68, 294.52°)
OKLaboklab(14.36% 0.0068 -0.0748)
OKLCHoklch(14.36% 0.075 275.2)
XYZxyz(0.4780, 0.2505, 2.0302)
Luminance0.0025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050328 #262803
analogous
#031328 #050328 #170328
triadic
#050328 #280503 #032805
tetradic
#050328 #280313 #262803 #032817
square
#050328 #280313 #262803 #032817
split-complementary
#050328 #281703 #132803
monochromatic
#04021C #04021C #050328 #0C0761 #130C9A

Accessibility & contrast

On white

20.00
#050328 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050328
20.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050328#FFFFFF#000000##FFFFFF
##0503281.0020.001.0520.00
#FFFFFF20.001.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A29
Deuteranopia (green-blind)
#000727
Tritanopia (blue-blind)
#000D14
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #050328;
/* rgb */ color: rgb(5, 3, 40);
/* oklch */ color: oklch(14.4% 0.075 275.2);
Tailwind
colors: {
  custom: {
    50: '#494862',
    500: '#050328',
    950: '#000000',
  },
}
SCSS
$custom: #050328;
$custom-light: #494862;
$custom-dark: #000000;
JSON
{
  "hex": "#050328",
  "rgb": {
    "r": 5,
    "g": 3,
    "b": 40
  },
  "hsl": {
    "h": 243.243,
    "s": 86.047,
    "l": 8.431
  },
  "oklch": {
    "l": 0.14361,
    "c": 0.07512,
    "h": 275.2
  },
  "luminance": 0.00251
}

Semantic roles & 50–950 ramp

primary
#050328
secondary
#686C1B
accent
#FC2CF1
background
#F4F4F5
surface
#E7E6EA
border
#C3C2C6
text
#010005
muted
#777779

Preview Lab

Preview with #050328

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

Preview Lab → · Contrast checker → · Palette generator →

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