#051347#051347

#051347 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.9% C 0.099 H 265.6°. Best body text is #FFFFFF at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#051347
RGBrgb(5, 19, 71)
HSLhsl(227, 87%, 15%)
HSVhsv(227, 93%, 28%)
CMYKcmyk(93%, 73.2%, 0%, 72.2%)
CIE-LABlab(8.59, 17.50, -34.00)
CIE-LCHlch(8.59, 38.24, 297.24°)
OKLaboklab(21.88% -0.0076 -0.0985)
OKLCHoklch(21.88% 0.099 265.6)
XYZxyz(1.4324, 0.9528, 6.0684)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051347 #473905
analogous
#053447 #051347 #180547
triadic
#051347 #470513 #134705
tetradic
#051347 #470534 #473905 #054718
square
#051347 #470534 #473905 #054718
split-complementary
#051347 #471805 #344705
monochromatic
#02081D #02081D #051347 #092280 #0D32B9

Accessibility & contrast

On white

17.64
#051347 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#051347 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #051347
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051347#FFFFFF#000000##FFFFFF
##0513471.0017.641.1917.64
#FFFFFF17.641.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C49
Deuteranopia (green-blind)
#001646
Tritanopia (blue-blind)
#00212B
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #051347;
/* rgb */ color: rgb(5, 19, 71);
/* oklch */ color: oklch(21.9% 0.099 265.6);
Tailwind
colors: {
  custom: {
    50: '#54507b',
    500: '#051347',
    950: '#000000',
  },
}
SCSS
$custom: #051347;
$custom-light: #54507b;
$custom-dark: #000000;
JSON
{
  "hex": "#051347",
  "rgb": {
    "r": 5,
    "g": 19,
    "b": 71
  },
  "hsl": {
    "h": 227.273,
    "s": 86.842,
    "l": 14.902
  },
  "oklch": {
    "l": 0.21877,
    "c": 0.0988,
    "h": 265.6
  },
  "luminance": 0.00953
}

Semantic roles & 50–950 ramp

primary
#051347
secondary
#877121
accent
#D02BFD
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030209
muted
#78787B

Preview Lab

Preview with #051347

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

Preview Lab → · Contrast checker → · Palette generator →

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