#050E27#050E27

#050E27 is a very dark, muted blue. Relative luminance 0.005; OKLCH L 17.2% C 0.054 H 264.9°. Best body text is #FFFFFF at 19.12:1 contrast (WCAG AA passes).

Color values

HEX#050E27
RGBrgb(5, 14, 39)
HSLhsl(224, 77%, 9%)
HSVhsv(224, 87%, 15%)
CMYKcmyk(87.2%, 64.1%, 0%, 84.7%)
CIE-LABlab(4.45, 4.81, -17.36)
CIE-LCHlch(4.45, 18.01, 285.47°)
OKLaboklab(17.25% -0.0048 -0.0534)
OKLCHoklch(17.25% 0.054 264.9)
XYZxyz(0.5857, 0.4928, 1.9833)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050E27 #271E05
analogous
#051F27 #050E27 #0D0527
triadic
#050E27 #27050E #0E2705
tetradic
#050E27 #27051F #271E05 #05270D
square
#050E27 #27051F #271E05 #05270D
split-complementary
#050E27 #270D05 #1F2705
monochromatic
#030A1B #030A1B #050E27 #0C215D #133593

Accessibility & contrast

On white

19.12
#050E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#050E27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050E27
19.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050E27#FFFFFF#000000##FFFFFF
##050E271.0019.121.1019.12
#FFFFFF19.121.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021128
Deuteranopia (green-blind)
#000E26
Tritanopia (blue-blind)
#001418
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #050e27;
/* rgb */ color: rgb(5, 14, 39);
/* oklch */ color: oklch(17.2% 0.054 264.9);
Tailwind
colors: {
  custom: {
    50: '#494d61',
    500: '#050e27',
    950: '#000000',
  },
}
SCSS
$custom: #050e27;
$custom-light: #494d61;
$custom-dark: #000000;
JSON
{
  "hex": "#050e27",
  "rgb": {
    "r": 5,
    "g": 14,
    "b": 39
  },
  "hsl": {
    "h": 224.118,
    "s": 77.273,
    "l": 8.627
  },
  "oklch": {
    "l": 0.17249,
    "c": 0.05362,
    "h": 264.9
  },
  "luminance": 0.00493
}

Semantic roles & 50–950 ramp

primary
#050E27
secondary
#69551F
accent
#C134F4
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010105
muted
#777779

Preview Lab

Preview with #050E27

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

Preview Lab → · Contrast checker → · Palette generator →

#050E27 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva