#051027#051027

#051027 is a very dark, muted blue. Relative luminance 0.005; OKLCH L 17.8% C 0.050 H 261.9°. Best body text is #FFFFFF at 18.92:1 contrast (WCAG AA passes).

Color values

HEX#051027
RGBrgb(5, 16, 39)
HSLhsl(221, 77%, 9%)
HSVhsv(221, 87%, 15%)
CMYKcmyk(87.2%, 59%, 0%, 84.7%)
CIE-LABlab(4.96, 3.76, -16.56)
CIE-LCHlch(4.96, 16.99, 282.80°)
OKLaboklab(17.81% -0.0071 -0.0499)
OKLCHoklch(17.81% 0.05 261.9)
XYZxyz(0.6140, 0.5493, 1.9927)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051027 #271C05
analogous
#052127 #051027 #0B0527
triadic
#051027 #270510 #102705
tetradic
#051027 #270521 #271C05 #05270B
square
#051027 #270521 #271C05 #05270B
split-complementary
#051027 #270B05 #212705
monochromatic
#030B1B #030B1B #051027 #0C265D #133D93

Accessibility & contrast

On white

18.92
#051027 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#051027 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #051027
18.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051027#FFFFFF#000000##FFFFFF
##0510271.0018.921.1118.92
#FFFFFF18.921.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051228
Deuteranopia (green-blind)
#010F27
Tritanopia (blue-blind)
#001519
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #051027;
/* rgb */ color: rgb(5, 16, 39);
/* oklch */ color: oklch(17.8% 0.050 261.9);
Tailwind
colors: {
  custom: {
    50: '#494e61',
    500: '#051027',
    950: '#000000',
  },
}
SCSS
$custom: #051027;
$custom-light: #494e61;
$custom-dark: #000000;
JSON
{
  "hex": "#051027",
  "rgb": {
    "r": 5,
    "g": 16,
    "b": 39
  },
  "hsl": {
    "h": 220.588,
    "s": 77.273,
    "l": 8.627
  },
  "oklch": {
    "l": 0.17805,
    "c": 0.05041,
    "h": 261.9
  },
  "luminance": 0.00549
}

Semantic roles & 50–950 ramp

primary
#051027
secondary
#69511F
accent
#B634F4
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010105
muted
#777779

Preview Lab

Preview with #051027

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

Preview Lab → · Contrast checker → · Palette generator →

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