#051A46#051A46

#051A46 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.4% C 0.087 H 262.1°. Best body text is #FFFFFF at 16.90:1 contrast (WCAG AA passes).

Color values

HEX#051A46
RGBrgb(5, 26, 70)
HSLhsl(221, 87%, 15%)
HSVhsv(221, 93%, 27%)
CMYKcmyk(92.9%, 62.9%, 0%, 72.5%)
CIE-LABlab(10.65, 11.56, -29.93)
CIE-LCHlch(10.65, 32.08, 291.11°)
OKLaboklab(23.38% -0.012 -0.0865)
OKLCHoklch(23.38% 0.087 262.1)
XYZxyz(1.5371, 1.2131, 5.9463)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051A46 #463105
analogous
#053B46 #051A46 #100546
triadic
#051A46 #46051A #1A4605
tetradic
#051A46 #46053B #463105 #054610
square
#051A46 #46053B #463105 #054610
split-complementary
#051A46 #461005 #3B4605
monochromatic
#020B1D #020B1D #051A46 #092F7F #0D44B8

Accessibility & contrast

On white

16.90
#051A46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#051A46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #051A46
16.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051A46#FFFFFF#000000##FFFFFF
##051A461.0016.901.2416.90
#FFFFFF16.901.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002048
Deuteranopia (green-blind)
#001A45
Tritanopia (blue-blind)
#00252D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #051a46;
/* rgb */ color: rgb(5, 26, 70);
/* oklch */ color: oklch(23.4% 0.087 262.1);
Tailwind
colors: {
  custom: {
    50: '#53557a',
    500: '#051a46',
    950: '#000000',
  },
}
SCSS
$custom: #051a46;
$custom-light: #53557a;
$custom-dark: #000000;
JSON
{
  "hex": "#051a46",
  "rgb": {
    "r": 5,
    "g": 26,
    "b": 70
  },
  "hsl": {
    "h": 220.615,
    "s": 86.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.23383,
    "c": 0.0873,
    "h": 262.1
  },
  "luminance": 0.01213
}

Semantic roles & 50–950 ramp

primary
#051A46
secondary
#866521
accent
#B92BFD
background
#F5F4F7
surface
#E9E8ED
border
#C5C4C8
text
#030309
muted
#78787B

Preview Lab

Preview with #051A46

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

Preview Lab → · Contrast checker → · Palette generator →

#051A46 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva