#050636#050636

#050636 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.1% C 0.091 H 270.5°. Best body text is #FFFFFF at 19.34:1 contrast (WCAG AA passes).

Color values

HEX#050636
RGBrgb(5, 6, 54)
HSLhsl(239, 83%, 12%)
HSVhsv(239, 91%, 21%)
CMYKcmyk(90.7%, 88.9%, 0%, 78.8%)
CIE-LABlab(3.87, 15.80, -29.51)
CIE-LCHlch(3.87, 33.47, 298.17°)
OKLaboklab(17.11% 0.0008 -0.0906)
OKLCHoklch(17.11% 0.091 270.5)
XYZxyz(0.7933, 0.4288, 3.5303)
Luminance0.0043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050636 #363505
analogous
#051F36 #050636 #1D0536
triadic
#050636 #360506 #063605
tetradic
#050636 #36051F #363505 #05361D
square
#050636 #36051F #363505 #05361D
split-complementary
#050636 #361D05 #1F3605
monochromatic
#03031C #03031C #050636 #0A0C6E #0F12A6

Accessibility & contrast

On white

19.34
#050636 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050636
19.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050636#FFFFFF#000000##FFFFFF
##0506361.0019.341.0919.34
#FFFFFF19.341.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001037
Deuteranopia (green-blind)
#000B35
Tritanopia (blue-blind)
#00141D
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #050636;
/* rgb */ color: rgb(5, 6, 54);
/* oklch */ color: oklch(17.1% 0.091 270.5);
Tailwind
colors: {
  custom: {
    50: '#4d496d',
    500: '#050636',
    950: '#000000',
  },
}
SCSS
$custom: #050636;
$custom-light: #4d496d;
$custom-dark: #000000;
JSON
{
  "hex": "#050636",
  "rgb": {
    "r": 5,
    "g": 6,
    "b": 54
  },
  "hsl": {
    "h": 238.776,
    "s": 83.051,
    "l": 11.569
  },
  "oklch": {
    "l": 0.17106,
    "c": 0.0906,
    "h": 270.5
  },
  "luminance": 0.00429
}

Semantic roles & 50–950 ramp

primary
#050636
secondary
#777520
accent
#F52EF9
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#020007
muted
#78777A

Preview Lab

Preview with #050636

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

Preview Lab → · Contrast checker → · Palette generator →

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