#050027#050027

#050027 is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 13.2% C 0.081 H 277.6°. Best body text is #FFFFFF at 20.27:1 contrast (WCAG AA passes).

Color values

HEX#050027
RGBrgb(5, 0, 39)
HSLhsl(248, 100%, 8%)
HSVhsv(248, 100%, 15%)
CMYKcmyk(87.2%, 100%, 0%, 84.7%)
CIE-LABlab(1.61, 10.60, -21.79)
CIE-LCHlch(1.61, 24.23, 295.95°)
OKLaboklab(13.17% 0.0107 -0.0804)
OKLCHoklch(13.17% 0.081 277.6)
XYZxyz(0.4287, 0.1787, 1.9310)
Luminance0.0018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050027 #222700
analogous
#000F27 #050027 #180027
triadic
#050027 #270500 #002705
tetradic
#050027 #27000F #222700 #002718
square
#050027 #27000F #222700 #002718
split-complementary
#050027 #271800 #0F2700
monochromatic
#04001F #04001F #050027 #0D0064 #1500A1

Accessibility & contrast

On white

20.27
#050027 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050027
20.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050027#FFFFFF#000000##FFFFFF
##0500271.0020.271.0420.27
#FFFFFF20.271.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000728
Deuteranopia (green-blind)
#000526
Tritanopia (blue-blind)
#000912
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #050027;
/* rgb */ color: rgb(5, 0, 39);
/* oklch */ color: oklch(13.2% 0.081 277.6);
Tailwind
colors: {
  custom: {
    50: '#494661',
    500: '#050027',
    950: '#000000',
  },
}
SCSS
$custom: #050027;
$custom-light: #494661;
$custom-dark: #000000;
JSON
{
  "hex": "#050027",
  "rgb": {
    "r": 5,
    "g": 0,
    "b": 39
  },
  "hsl": {
    "h": 247.692,
    "s": 100,
    "l": 7.647
  },
  "oklch": {
    "l": 0.13173,
    "c": 0.08112,
    "h": 277.6
  },
  "luminance": 0.00179
}

Semantic roles & 50–950 ramp

primary
#050027
secondary
#636F14
accent
#FF29E4
background
#F4F3F5
surface
#E7E5EA
border
#C3C1C6
text
#010005
muted
#777779

Preview Lab

Preview with #050027

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

Preview Lab → · Contrast checker → · Palette generator →

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