#050028#050028

#050028 is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 13.3% C 0.082 H 277.1°. Best body text is #FFFFFF at 20.25:1 contrast (WCAG AA passes).

Color values

HEX#050028
RGBrgb(5, 0, 40)
HSLhsl(248, 100%, 8%)
HSVhsv(248, 100%, 16%)
CMYKcmyk(87.5%, 100%, 0%, 84.3%)
CIE-LABlab(1.67, 11.03, -22.47)
CIE-LCHlch(1.67, 25.03, 296.15°)
OKLaboklab(13.34% 0.0102 -0.0818)
OKLCHoklch(13.34% 0.082 277.1)
XYZxyz(0.4455, 0.1854, 2.0194)
Luminance0.0019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050028 #232800
analogous
#000F28 #050028 #190028
triadic
#050028 #280500 #002805
tetradic
#050028 #28000F #232800 #002819
square
#050028 #28000F #232800 #002819
split-complementary
#050028 #281900 #0F2800
monochromatic
#04001F #04001F #050028 #0D0065 #1400A2

Accessibility & contrast

On white

20.25
#050028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050028
20.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050028#FFFFFF#000000##FFFFFF
##0500281.0020.251.0420.25
#FFFFFF20.251.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000829
Deuteranopia (green-blind)
#000527
Tritanopia (blue-blind)
#000A13
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #050028;
/* rgb */ color: rgb(5, 0, 40);
/* oklch */ color: oklch(13.3% 0.082 277.1);
Tailwind
colors: {
  custom: {
    50: '#494662',
    500: '#050028',
    950: '#000000',
  },
}
SCSS
$custom: #050028;
$custom-light: #494662;
$custom-dark: #000000;
JSON
{
  "hex": "#050028",
  "rgb": {
    "r": 5,
    "g": 0,
    "b": 40
  },
  "hsl": {
    "h": 247.5,
    "s": 100,
    "l": 7.843
  },
  "oklch": {
    "l": 0.13337,
    "c": 0.08245,
    "h": 277.1
  },
  "luminance": 0.00185
}

Semantic roles & 50–950 ramp

primary
#050028
secondary
#647014
accent
#FF29E4
background
#F4F3F5
surface
#E7E5EA
border
#C3C1C6
text
#010005
muted
#777779

Preview Lab

Preview with #050028

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

Preview Lab → · Contrast checker → · Palette generator →

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