#051047#051047

#051047 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.3% C 0.103 H 266.6°. Best body text is #FFFFFF at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#051047
RGBrgb(5, 16, 71)
HSLhsl(230, 87%, 15%)
HSVhsv(230, 93%, 28%)
CMYKcmyk(93%, 77.5%, 0%, 72.2%)
CIE-LABlab(7.75, 19.76, -35.39)
CIE-LCHlch(7.75, 40.53, 299.18°)
OKLaboklab(21.26% -0.0061 -0.1026)
OKLCHoklch(21.26% 0.103 266.6)
XYZxyz(1.3848, 0.8576, 6.0526)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051047 #473C05
analogous
#053147 #051047 #1B0547
triadic
#051047 #470510 #104705
tetradic
#051047 #470531 #473C05 #05471B
square
#051047 #470531 #473C05 #05471B
split-complementary
#051047 #471B05 #314705
monochromatic
#02061D #02061D #051047 #091D80 #0D2AB9

Accessibility & contrast

On white

17.92
#051047 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#051047 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #051047
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051047#FFFFFF#000000##FFFFFF
##0510471.0017.921.1717.92
#FFFFFF17.921.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A49
Deuteranopia (green-blind)
#001446
Tritanopia (blue-blind)
#001F2A
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #051047;
/* rgb */ color: rgb(5, 16, 71);
/* oklch */ color: oklch(21.3% 0.103 266.6);
Tailwind
colors: {
  custom: {
    50: '#544e7b',
    500: '#051047',
    950: '#000000',
  },
}
SCSS
$custom: #051047;
$custom-light: #544e7b;
$custom-dark: #000000;
JSON
{
  "hex": "#051047",
  "rgb": {
    "r": 5,
    "g": 16,
    "b": 71
  },
  "hsl": {
    "h": 230,
    "s": 86.842,
    "l": 14.902
  },
  "oklch": {
    "l": 0.21258,
    "c": 0.10278,
    "h": 266.6
  },
  "luminance": 0.00858
}

Semantic roles & 50–950 ramp

primary
#051047
secondary
#877621
accent
#DA2BFD
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030109
muted
#78777B

Preview Lab

Preview with #051047

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

Preview Lab → · Contrast checker → · Palette generator →

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