#050428#050428

#050428 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 14.7% C 0.073 H 274.5°. Best body text is #FFFFFF at 19.92:1 contrast (WCAG AA passes).

Color values

HEX#050428
RGBrgb(5, 4, 40)
HSLhsl(242, 82%, 9%)
HSVhsv(242, 90%, 16%)
CMYKcmyk(87.5%, 90%, 0%, 84.3%)
CIE-LABlab(2.46, 9.43, -21.24)
CIE-LCHlch(2.46, 23.24, 293.93°)
OKLaboklab(14.67% 0.0057 -0.0727)
OKLCHoklch(14.67% 0.073 274.5)
XYZxyz(0.4889, 0.2723, 2.0339)
Luminance0.0027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050428 #272804
analogous
#041528 #050428 #170428
triadic
#050428 #280504 #042805
tetradic
#050428 #280415 #272804 #042817
square
#050428 #280415 #272804 #042817
split-complementary
#050428 #281704 #152804
monochromatic
#03031C #03031C #050428 #0C0A60 #130F97

Accessibility & contrast

On white

19.92
#050428 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050428
19.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050428#FFFFFF#000000##FFFFFF
##0504281.0019.921.0519.92
#FFFFFF19.921.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B29
Deuteranopia (green-blind)
#000727
Tritanopia (blue-blind)
#000D15
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #050428;
/* rgb */ color: rgb(5, 4, 40);
/* oklch */ color: oklch(14.7% 0.073 274.5);
Tailwind
colors: {
  custom: {
    50: '#494862',
    500: '#050428',
    950: '#000000',
  },
}
SCSS
$custom: #050428;
$custom-light: #494862;
$custom-dark: #000000;
JSON
{
  "hex": "#050428",
  "rgb": {
    "r": 5,
    "g": 4,
    "b": 40
  },
  "hsl": {
    "h": 241.667,
    "s": 81.818,
    "l": 8.627
  },
  "oklch": {
    "l": 0.14672,
    "c": 0.07293,
    "h": 274.5
  },
  "luminance": 0.00272
}

Semantic roles & 50–950 ramp

primary
#050428
secondary
#696B1D
accent
#F830F3
background
#F4F4F5
surface
#E7E6EA
border
#C3C2C6
text
#010005
muted
#777779

Preview Lab

Preview with #050428

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

Preview Lab → · Contrast checker → · Palette generator →

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