#051037#051037

#051037 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.4% C 0.078 H 266.0°. Best body text is #FFFFFF at 18.49:1 contrast (WCAG AA passes).

Color values

HEX#051037
RGBrgb(5, 16, 55)
HSLhsl(227, 83%, 12%)
HSVhsv(227, 91%, 22%)
CMYKcmyk(90.9%, 70.9%, 0%, 78.4%)
CIE-LABlab(6.13, 11.83, -26.60)
CIE-LCHlch(6.13, 29.11, 293.98°)
OKLaboklab(19.41% -0.0054 -0.0777)
OKLCHoklch(19.41% 0.078 266)
XYZxyz(0.9372, 0.6786, 3.6953)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051037 #372C05
analogous
#052937 #051037 #130537
triadic
#051037 #370510 #103705
tetradic
#051037 #370529 #372C05 #053713
square
#051037 #370529 #372C05 #053713
split-complementary
#051037 #371305 #293705
monochromatic
#03081C #03081C #051037 #0A206F #0F31A7

Accessibility & contrast

On white

18.49
#051037 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#051037 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #051037
18.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051037#FFFFFF#000000##FFFFFF
##0510371.0018.491.1418.49
#FFFFFF18.491.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001638
Deuteranopia (green-blind)
#001136
Tritanopia (blue-blind)
#001A21
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #051037;
/* rgb */ color: rgb(5, 16, 55);
/* oklch */ color: oklch(19.4% 0.078 266.0);
Tailwind
colors: {
  custom: {
    50: '#4e4e6e',
    500: '#051037',
    950: '#000000',
  },
}
SCSS
$custom: #051037;
$custom-light: #4e4e6e;
$custom-dark: #000000;
JSON
{
  "hex": "#051037",
  "rgb": {
    "r": 5,
    "g": 16,
    "b": 55
  },
  "hsl": {
    "h": 226.8,
    "s": 83.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.19406,
    "c": 0.07794,
    "h": 266
  },
  "luminance": 0.00679
}

Semantic roles & 50–950 ramp

primary
#051037
secondary
#786520
accent
#CD2EFA
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #051037

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

Preview Lab → · Contrast checker → · Palette generator →

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