#051C3D#051C3D

#051C3D is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.1% C 0.070 H 257.6°. Best body text is #FFFFFF at 16.94:1 contrast (WCAG AA passes).

Color values

HEX#051C3D
RGBrgb(5, 28, 61)
HSLhsl(215, 85%, 13%)
HSVhsv(215, 92%, 24%)
CMYKcmyk(91.8%, 54.1%, 0%, 76.1%)
CIE-LABlab(10.55, 5.72, -23.75)
CIE-LCHlch(10.55, 24.43, 283.55°)
OKLaboklab(23.06% -0.015 -0.0683)
OKLCHoklch(23.06% 0.07 257.6)
XYZxyz(1.3198, 1.1995, 4.5759)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051C3D #3D2605
analogous
#05383D #051C3D #0A053D
triadic
#051C3D #3D051C #1C3D05
tetradic
#051C3D #3D0538 #3D2605 #053D0A
square
#051C3D #3D0538 #3D2605 #053D0A
split-complementary
#051C3D #3D0A05 #383D05
monochromatic
#020D1C #020D1C #051C3D #0A3676 #0E50AE

Accessibility & contrast

On white

16.94
#051C3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #051C3D
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051C3D#FFFFFF#000000##FFFFFF
##051C3D1.0016.941.2416.94
#FFFFFF16.941.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1F3E
Deuteranopia (green-blind)
#001A3C
Tritanopia (blue-blind)
#002429
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #051c3d;
/* rgb */ color: rgb(5, 28, 61);
/* oklch */ color: oklch(23.1% 0.070 257.6);
Tailwind
colors: {
  custom: {
    50: '#505773',
    500: '#051c3d',
    950: '#000000',
  },
}
SCSS
$custom: #051c3d;
$custom-light: #505773;
$custom-dark: #000000;
JSON
{
  "hex": "#051c3d",
  "rgb": {
    "r": 5,
    "g": 28,
    "b": 61
  },
  "hsl": {
    "h": 215.357,
    "s": 84.848,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23062,
    "c": 0.06988,
    "h": 257.6
  },
  "luminance": 0.012
}

Semantic roles & 50–950 ramp

primary
#051C3D
secondary
#7E5720
accent
#A62DFB
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020308
muted
#78787B

Preview Lab

Preview with #051C3D

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

Preview Lab → · Contrast checker → · Palette generator →

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