#051137#051137

#051137 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.6% C 0.076 H 265.3°. Best body text is #FFFFFF at 18.39:1 contrast (WCAG AA passes).

Color values

HEX#051137
RGBrgb(5, 17, 55)
HSLhsl(226, 83%, 12%)
HSVhsv(226, 91%, 22%)
CMYKcmyk(90.9%, 69.1%, 0%, 78.4%)
CIE-LABlab(6.40, 11.23, -26.16)
CIE-LCHlch(6.40, 28.46, 293.23°)
OKLaboklab(19.65% -0.0062 -0.0762)
OKLCHoklch(19.65% 0.076 265.3)
XYZxyz(0.9524, 0.7089, 3.7003)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051137 #372B05
analogous
#052A37 #051137 #120537
triadic
#051137 #370511 #113705
tetradic
#051137 #37052A #372B05 #053712
square
#051137 #37052A #372B05 #053712
split-complementary
#051137 #371205 #2A3705
monochromatic
#03091C #03091C #051137 #0A226F #0F34A7

Accessibility & contrast

On white

18.39
#051137 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #051137
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051137#FFFFFF#000000##FFFFFF
##0511371.0018.391.1418.39
#FFFFFF18.391.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001738
Deuteranopia (green-blind)
#001236
Tritanopia (blue-blind)
#001B21
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #051137;
/* rgb */ color: rgb(5, 17, 55);
/* oklch */ color: oklch(19.6% 0.076 265.3);
Tailwind
colors: {
  custom: {
    50: '#4e4e6e',
    500: '#051137',
    950: '#000000',
  },
}
SCSS
$custom: #051137;
$custom-light: #4e4e6e;
$custom-dark: #000000;
JSON
{
  "hex": "#051137",
  "rgb": {
    "r": 5,
    "g": 17,
    "b": 55
  },
  "hsl": {
    "h": 225.6,
    "s": 83.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.19646,
    "c": 0.07644,
    "h": 265.3
  },
  "luminance": 0.00709
}

Semantic roles & 50–950 ramp

primary
#051137
secondary
#786320
accent
#C92EFA
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #051137

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

Preview Lab → · Contrast checker → · Palette generator →

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