#051936#051936

#051936 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.6% C 0.063 H 257.5°. Best body text is #FFFFFF at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#051936
RGBrgb(5, 25, 54)
HSLhsl(216, 83%, 12%)
HSVhsv(216, 91%, 21%)
CMYKcmyk(90.7%, 53.7%, 0%, 78.8%)
CIE-LABlab(8.94, 4.77, -21.34)
CIE-LCHlch(8.94, 21.86, 282.59°)
OKLaboklab(21.64% -0.0136 -0.0612)
OKLCHoklch(21.64% 0.063 257.5)
XYZxyz(1.0758, 0.9937, 3.6244)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051936 #362205
analogous
#053236 #051936 #0A0536
triadic
#051936 #360519 #193605
tetradic
#051936 #360532 #362205 #05360A
square
#051936 #360532 #362205 #05360A
split-complementary
#051936 #360A05 #323605
monochromatic
#030D1C #030D1C #051936 #0A336E #0F4DA6

Accessibility & contrast

On white

17.52
#051936 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#051936 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #051936
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051936#FFFFFF#000000##FFFFFF
##0519361.0017.521.2017.52
#FFFFFF17.521.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1C37
Deuteranopia (green-blind)
#021735
Tritanopia (blue-blind)
#002024
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #051936;
/* rgb */ color: rgb(5, 25, 54);
/* oklch */ color: oklch(21.6% 0.063 257.5);
Tailwind
colors: {
  custom: {
    50: '#4d556d',
    500: '#051936',
    950: '#000000',
  },
}
SCSS
$custom: #051936;
$custom-light: #4d556d;
$custom-dark: #000000;
JSON
{
  "hex": "#051936",
  "rgb": {
    "r": 5,
    "g": 25,
    "b": 54
  },
  "hsl": {
    "h": 215.51,
    "s": 83.051,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21638,
    "c": 0.06272,
    "h": 257.5
  },
  "luminance": 0.00994
}

Semantic roles & 50–950 ramp

primary
#051936
secondary
#775320
accent
#A72EF9
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020207
muted
#78787A

Preview Lab

Preview with #051936

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

Preview Lab → · Contrast checker → · Palette generator →

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