#051D41#051D41

#051D41 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.7% C 0.075 H 258.4°. Best body text is #FFFFFF at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#051D41
RGBrgb(5, 29, 65)
HSLhsl(216, 86%, 14%)
HSVhsv(216, 92%, 25%)
CMYKcmyk(92.3%, 55.4%, 0%, 74.5%)
CIE-LABlab(11.22, 6.83, -25.50)
CIE-LCHlch(11.22, 26.40, 284.99°)
OKLaboklab(23.68% -0.0151 -0.0734)
OKLCHoklch(23.68% 0.075 258.4)
XYZxyz(1.4557, 1.2925, 5.1727)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051D41 #412905
analogous
#053B41 #051D41 #0B0541
triadic
#051D41 #41051D #1D4105
tetradic
#051D41 #41053B #412905 #05410B
square
#051D41 #41053B #412905 #05410B
split-complementary
#051D41 #410B05 #3B4105
monochromatic
#020D1C #020D1C #051D41 #09367A #0E50B3

Accessibility & contrast

On white

16.69
#051D41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#051D41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #051D41
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051D41#FFFFFF#000000##FFFFFF
##051D411.0016.691.2616.69
#FFFFFF16.691.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082142
Deuteranopia (green-blind)
#001B40
Tritanopia (blue-blind)
#00262B
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #051d41;
/* rgb */ color: rgb(5, 29, 65);
/* oklch */ color: oklch(23.7% 0.075 258.4);
Tailwind
colors: {
  custom: {
    50: '#515876',
    500: '#051d41',
    950: '#000000',
  },
}
SCSS
$custom: #051d41;
$custom-light: #515876;
$custom-dark: #000000;
JSON
{
  "hex": "#051d41",
  "rgb": {
    "r": 5,
    "g": 29,
    "b": 65
  },
  "hsl": {
    "h": 216,
    "s": 85.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.23679,
    "c": 0.07492,
    "h": 258.4
  },
  "luminance": 0.01293
}

Semantic roles & 50–950 ramp

primary
#051D41
secondary
#815B20
accent
#A92CFC
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020308
muted
#78787B

Preview Lab

Preview with #051D41

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

Preview Lab → · Contrast checker → · Palette generator →

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