#051733#051733

#051733 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 20.8% C 0.061 H 258.4°. Best body text is #FFFFFF at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#051733
RGBrgb(5, 23, 51)
HSLhsl(217, 82%, 11%)
HSVhsv(217, 90%, 20%)
CMYKcmyk(90.2%, 54.9%, 0%, 80%)
CIE-LABlab(7.99, 4.93, -20.69)
CIE-LCHlch(7.99, 21.27, 283.41°)
OKLaboklab(20.83% -0.0122 -0.0594)
OKLCHoklch(20.83% 0.061 258.4)
XYZxyz(0.9663, 0.8840, 3.2510)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051733 #332105
analogous
#052E33 #051733 #0A0533
triadic
#051733 #330517 #173305
tetradic
#051733 #33052E #332105 #05330A
square
#051733 #33052E #332105 #05330A
split-complementary
#051733 #330A05 #2E3305
monochromatic
#030D1C #030D1C #051733 #0A306B #1049A2

Accessibility & contrast

On white

17.85
#051733 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #051733
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051733#FFFFFF#000000##FFFFFF
##0517331.0017.851.1817.85
#FFFFFF17.851.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081A34
Deuteranopia (green-blind)
#011532
Tritanopia (blue-blind)
#001E22
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #051733;
/* rgb */ color: rgb(5, 23, 51);
/* oklch */ color: oklch(20.8% 0.061 258.4);
Tailwind
colors: {
  custom: {
    50: '#4d536b',
    500: '#051733',
    950: '#000000',
  },
}
SCSS
$custom: #051733;
$custom-light: #4d536b;
$custom-dark: #000000;
JSON
{
  "hex": "#051733",
  "rgb": {
    "r": 5,
    "g": 23,
    "b": 51
  },
  "hsl": {
    "h": 216.522,
    "s": 82.143,
    "l": 10.98
  },
  "oklch": {
    "l": 0.20825,
    "c": 0.06062,
    "h": 258.4
  },
  "luminance": 0.00884
}

Semantic roles & 50–950 ramp

primary
#051733
secondary
#74531F
accent
#AA2FF8
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #051733

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

Preview Lab → · Contrast checker → · Palette generator →

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