#050536#050536

#050536 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.9% C 0.092 H 270.8°. Best body text is #FFFFFF at 19.42:1 contrast (WCAG AA passes).

Color values

HEX#050536
RGBrgb(5, 5, 54)
HSLhsl(240, 83%, 12%)
HSVhsv(240, 91%, 21%)
CMYKcmyk(90.7%, 90.7%, 0%, 78.8%)
CIE-LABlab(3.68, 16.20, -29.83)
CIE-LCHlch(3.68, 33.94, 298.51°)
OKLaboklab(16.88% 0.0013 -0.0921)
OKLCHoklch(16.88% 0.092 270.8)
XYZxyz(0.7825, 0.4071, 3.5266)
Luminance0.0041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050536 #363605
analogous
#051E36 #050536 #1E0536
triadic
#050536 #360505 #053605
tetradic
#050536 #36051E #363605 #05361E
square
#050536 #36051E #363605 #05361E
split-complementary
#050536 #361E05 #1E3605
monochromatic
#03031C #03031C #050536 #0A0A6E #0F0FA6

Accessibility & contrast

On white

19.42
#050536 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#050536 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050536
19.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050536#FFFFFF#000000##FFFFFF
##0505361.0019.421.0819.42
#FFFFFF19.421.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #050536;
/* rgb */ color: rgb(5, 5, 54);
/* oklch */ color: oklch(16.9% 0.092 270.8);
Tailwind
colors: {
  custom: {
    50: '#4d486d',
    500: '#050536',
    950: '#000000',
  },
}
SCSS
$custom: #050536;
$custom-light: #4d486d;
$custom-dark: #000000;
JSON
{
  "hex": "#050536",
  "rgb": {
    "r": 5,
    "g": 5,
    "b": 54
  },
  "hsl": {
    "h": 240,
    "s": 83.051,
    "l": 11.569
  },
  "oklch": {
    "l": 0.16879,
    "c": 0.09214,
    "h": 270.8
  },
  "luminance": 0.00407
}

Semantic roles & 50–950 ramp

primary
#050536
secondary
#777720
accent
#F92EF9
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#020007
muted
#78777A

Preview Lab

Preview with #050536

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

Preview Lab → · Contrast checker → · Palette generator →

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