#050539#050539

#050539 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.3% C 0.096 H 270.4°. Best body text is #FFFFFF at 19.32:1 contrast (WCAG AA passes).

Color values

HEX#050539
RGBrgb(5, 5, 57)
HSLhsl(240, 84%, 12%)
HSVhsv(240, 91%, 22%)
CMYKcmyk(91.2%, 91.2%, 0%, 77.6%)
CIE-LABlab(3.94, 18.05, -31.60)
CIE-LCHlch(3.94, 36.39, 299.73°)
OKLaboklab(17.31% 0.0006 -0.0964)
OKLCHoklch(17.31% 0.096 270.4)
XYZxyz(0.8551, 0.4361, 3.9092)
Luminance0.0044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050539 #393905
analogous
#051F39 #050539 #1F0539
triadic
#050539 #390505 #053905
tetradic
#050539 #39051F #393905 #05391F
square
#050539 #39051F #393905 #05391F
split-complementary
#050539 #391F05 #1F3905
monochromatic
#02021C #02021C #050539 #0A0A71 #0F0FAA

Accessibility & contrast

On white

19.32
#050539 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050539
19.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050539#FFFFFF#000000##FFFFFF
##0505391.0019.321.0919.32
#FFFFFF19.321.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00113A
Deuteranopia (green-blind)
#000B38
Tritanopia (blue-blind)
#00151F
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #050539;
/* rgb */ color: rgb(5, 5, 57);
/* oklch */ color: oklch(17.3% 0.096 270.4);
Tailwind
colors: {
  custom: {
    50: '#4e4870',
    500: '#050539',
    950: '#000000',
  },
}
SCSS
$custom: #050539;
$custom-light: #4e4870;
$custom-dark: #000000;
JSON
{
  "hex": "#050539",
  "rgb": {
    "r": 5,
    "g": 5,
    "b": 57
  },
  "hsl": {
    "h": 240,
    "s": 83.871,
    "l": 12.157
  },
  "oklch": {
    "l": 0.17305,
    "c": 0.09643,
    "h": 270.4
  },
  "luminance": 0.00436
}

Semantic roles & 50–950 ramp

primary
#050539
secondary
#7A7A20
accent
#FA2EFA
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#020007
muted
#78777A

Preview Lab

Preview with #050539

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

Preview Lab → · Contrast checker → · Palette generator →

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