#051737#051737

#051737 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.2% C 0.067 H 260.2°. Best body text is #FFFFFF at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#051737
RGBrgb(5, 23, 55)
HSLhsl(218, 83%, 12%)
HSVhsv(218, 91%, 22%)
CMYKcmyk(90.9%, 58.2%, 0%, 78.4%)
CIE-LABlab(8.31, 6.85, -23.07)
CIE-LCHlch(8.31, 24.06, 286.54°)
OKLaboklab(21.18% -0.0114 -0.0664)
OKLCHoklch(21.18% 0.067 260.2)
XYZxyz(1.0583, 0.9208, 3.7356)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051737 #372505
analogous
#053037 #051737 #0C0537
triadic
#051737 #370517 #173705
tetradic
#051737 #370530 #372505 #05370C
square
#051737 #370530 #372505 #05370C
split-complementary
#051737 #370C05 #303705
monochromatic
#030C1C #030C1C #051737 #0A2E6F #0F46A7

Accessibility & contrast

On white

17.73
#051737 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #051737
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051737#FFFFFF#000000##FFFFFF
##0517371.0017.731.1817.73
#FFFFFF17.731.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051B38
Deuteranopia (green-blind)
#001636
Tritanopia (blue-blind)
#001F24
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #051737;
/* rgb */ color: rgb(5, 23, 55);
/* oklch */ color: oklch(21.2% 0.067 260.2);
Tailwind
colors: {
  custom: {
    50: '#4e536e',
    500: '#051737',
    950: '#000000',
  },
}
SCSS
$custom: #051737;
$custom-light: #4e536e;
$custom-dark: #000000;
JSON
{
  "hex": "#051737",
  "rgb": {
    "r": 5,
    "g": 23,
    "b": 55
  },
  "hsl": {
    "h": 218.4,
    "s": 83.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.21183,
    "c": 0.06735,
    "h": 260.2
  },
  "luminance": 0.00921
}

Semantic roles & 50–950 ramp

primary
#051737
secondary
#785820
accent
#B02EFA
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #051737

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

Preview Lab → · Contrast checker → · Palette generator →

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