#051046#051046

#051046 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.1% C 0.101 H 266.6°. Best body text is #FFFFFF at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#051046
RGBrgb(5, 16, 70)
HSLhsl(230, 87%, 15%)
HSVhsv(230, 93%, 27%)
CMYKcmyk(92.9%, 77.1%, 0%, 72.5%)
CIE-LABlab(7.63, 19.32, -34.87)
CIE-LCHlch(7.63, 39.87, 298.98°)
OKLaboklab(21.14% -0.006 -0.1011)
OKLCHoklch(21.14% 0.101 266.6)
XYZxyz(1.3530, 0.8449, 5.8849)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051046 #463B05
analogous
#053146 #051046 #1B0546
triadic
#051046 #460510 #104605
tetradic
#051046 #460531 #463B05 #05461B
square
#051046 #460531 #463B05 #05461B
split-complementary
#051046 #461B05 #314605
monochromatic
#02071D #02071D #051046 #091D7F #0D2AB8

Accessibility & contrast

On white

17.96
#051046 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #051046
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051046#FFFFFF#000000##FFFFFF
##0510461.0017.961.1717.96
#FFFFFF17.961.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A48
Deuteranopia (green-blind)
#001445
Tritanopia (blue-blind)
#001F29
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #051046;
/* rgb */ color: rgb(5, 16, 70);
/* oklch */ color: oklch(21.1% 0.101 266.6);
Tailwind
colors: {
  custom: {
    50: '#544e7a',
    500: '#051046',
    950: '#000000',
  },
}
SCSS
$custom: #051046;
$custom-light: #544e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#051046",
  "rgb": {
    "r": 5,
    "g": 16,
    "b": 70
  },
  "hsl": {
    "h": 229.846,
    "s": 86.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.21137,
    "c": 0.1013,
    "h": 266.6
  },
  "luminance": 0.00845
}

Semantic roles & 50–950 ramp

primary
#051046
secondary
#867521
accent
#D92BFD
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030109
muted
#78777B

Preview Lab

Preview with #051046

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

Preview Lab → · Contrast checker → · Palette generator →

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