#051736#051736

#051736 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.1% C 0.066 H 259.8°. Best body text is #FFFFFF at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#051736
RGBrgb(5, 23, 54)
HSLhsl(218, 83%, 12%)
HSVhsv(218, 91%, 21%)
CMYKcmyk(90.7%, 57.4%, 0%, 78.8%)
CIE-LABlab(8.23, 6.37, -22.48)
CIE-LCHlch(8.23, 23.37, 285.83°)
OKLaboklab(21.09% -0.0116 -0.0646)
OKLCHoklch(21.09% 0.066 259.8)
XYZxyz(1.0346, 0.9113, 3.6107)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051736 #362405
analogous
#053036 #051736 #0C0536
triadic
#051736 #360517 #173605
tetradic
#051736 #360530 #362405 #05360C
square
#051736 #360530 #362405 #05360C
split-complementary
#051736 #360C05 #303605
monochromatic
#030C1C #030C1C #051736 #0A2F6E #0F47A6

Accessibility & contrast

On white

17.76
#051736 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#051736 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #051736
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051736#FFFFFF#000000##FFFFFF
##0517361.0017.761.1817.76
#FFFFFF17.761.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061A37
Deuteranopia (green-blind)
#001635
Tritanopia (blue-blind)
#001E23
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #051736;
/* rgb */ color: rgb(5, 23, 54);
/* oklch */ color: oklch(21.1% 0.066 259.8);
Tailwind
colors: {
  custom: {
    50: '#4e536d',
    500: '#051736',
    950: '#000000',
  },
}
SCSS
$custom: #051736;
$custom-light: #4e536d;
$custom-dark: #000000;
JSON
{
  "hex": "#051736",
  "rgb": {
    "r": 5,
    "g": 23,
    "b": 54
  },
  "hsl": {
    "h": 217.959,
    "s": 83.051,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21092,
    "c": 0.06567,
    "h": 259.8
  },
  "luminance": 0.00911
}

Semantic roles & 50–950 ramp

primary
#051736
secondary
#775720
accent
#AF2EF9
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020207
muted
#78787A

Preview Lab

Preview with #051736

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

Preview Lab → · Contrast checker → · Palette generator →

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