#051739#051739

#051739 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.4% C 0.071 H 261.0°. Best body text is #FFFFFF at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#051739
RGBrgb(5, 23, 57)
HSLhsl(219, 84%, 12%)
HSVhsv(219, 91%, 22%)
CMYKcmyk(91.2%, 59.6%, 0%, 77.6%)
CIE-LABlab(8.48, 7.81, -24.23)
CIE-LCHlch(8.48, 25.46, 287.86°)
OKLaboklab(21.37% -0.0111 -0.0698)
OKLCHoklch(21.37% 0.071 261)
XYZxyz(1.1072, 0.9403, 3.9932)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051739 #392705
analogous
#053139 #051739 #0D0539
triadic
#051739 #390517 #173905
tetradic
#051739 #390531 #392705 #05390D
square
#051739 #390531 #392705 #05390D
split-complementary
#051739 #390D05 #313905
monochromatic
#020B1C #020B1C #051739 #0A2E71 #0F44AA

Accessibility & contrast

On white

17.68
#051739 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#051739 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #051739
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051739#FFFFFF#000000##FFFFFF
##0517391.0017.681.1917.68
#FFFFFF17.681.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031B3A
Deuteranopia (green-blind)
#001638
Tritanopia (blue-blind)
#001F25
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #051739;
/* rgb */ color: rgb(5, 23, 57);
/* oklch */ color: oklch(21.4% 0.071 261.0);
Tailwind
colors: {
  custom: {
    50: '#4f5370',
    500: '#051739',
    950: '#000000',
  },
}
SCSS
$custom: #051739;
$custom-light: #4f5370;
$custom-dark: #000000;
JSON
{
  "hex": "#051739",
  "rgb": {
    "r": 5,
    "g": 23,
    "b": 57
  },
  "hsl": {
    "h": 219.231,
    "s": 83.871,
    "l": 12.157
  },
  "oklch": {
    "l": 0.21368,
    "c": 0.07068,
    "h": 261
  },
  "luminance": 0.0094
}

Semantic roles & 50–950 ramp

primary
#051739
secondary
#7A5B20
accent
#B32EFA
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #051739

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

Preview Lab → · Contrast checker → · Palette generator →

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