#050836#050836

#050836 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.5% C 0.088 H 269.8°. Best body text is #FFFFFF at 19.19:1 contrast (WCAG AA passes).

Color values

HEX#050836
RGBrgb(5, 8, 54)
HSLhsl(236, 83%, 12%)
HSVhsv(236, 91%, 21%)
CMYKcmyk(90.7%, 85.2%, 0%, 78.8%)
CIE-LABlab(4.27, 15.00, -28.88)
CIE-LCHlch(4.27, 32.54, 297.45°)
OKLaboklab(17.54% -0.0003 -0.0877)
OKLCHoklch(17.54% 0.088 269.8)
XYZxyz(0.8150, 0.4722, 3.5375)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050836 #363305
analogous
#052136 #050836 #1B0536
triadic
#050836 #360508 #083605
tetradic
#050836 #360521 #363305 #05361B
square
#050836 #360521 #363305 #05361B
split-complementary
#050836 #361B05 #213605
monochromatic
#03041C #03041C #050836 #0A106E #0F19A6

Accessibility & contrast

On white

19.19
#050836 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#050836 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050836
19.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050836#FFFFFF#000000##FFFFFF
##0508361.0019.191.0919.19
#FFFFFF19.191.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001137
Deuteranopia (green-blind)
#000C35
Tritanopia (blue-blind)
#00151E
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #050836;
/* rgb */ color: rgb(5, 8, 54);
/* oklch */ color: oklch(17.5% 0.088 269.8);
Tailwind
colors: {
  custom: {
    50: '#4d496d',
    500: '#050836',
    950: '#000000',
  },
}
SCSS
$custom: #050836;
$custom-light: #4d496d;
$custom-dark: #000000;
JSON
{
  "hex": "#050836",
  "rgb": {
    "r": 5,
    "g": 8,
    "b": 54
  },
  "hsl": {
    "h": 236.327,
    "s": 83.051,
    "l": 11.569
  },
  "oklch": {
    "l": 0.17544,
    "c": 0.08766,
    "h": 269.8
  },
  "luminance": 0.00472
}

Semantic roles & 50–950 ramp

primary
#050836
secondary
#777220
accent
#ED2EF9
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #050836

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

Preview Lab → · Contrast checker → · Palette generator →

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