#050530#050530

#050530 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.0% C 0.083 H 271.9°. Best body text is #FFFFFF at 19.61:1 contrast (WCAG AA passes).

Color values

HEX#050530
RGBrgb(5, 5, 48)
HSLhsl(240, 81%, 10%)
HSVhsv(240, 90%, 19%)
CMYKcmyk(89.6%, 89.6%, 0%, 81.2%)
CIE-LABlab(3.20, 12.85, -26.14)
CIE-LCHlch(3.20, 29.13, 296.17°)
OKLaboklab(16.04% 0.0028 -0.0832)
OKLCHoklch(16.04% 0.083 271.9)
XYZxyz(0.6502, 0.3541, 2.8298)
Luminance0.0035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050530 #303005
analogous
#051A30 #050530 #1A0530
triadic
#050530 #300505 #053005
tetradic
#050530 #30051A #303005 #05301A
square
#050530 #30051A #303005 #05301A
split-complementary
#050530 #301A05 #1A3005
monochromatic
#03031C #03031C #050530 #0B0B67 #11119F

Accessibility & contrast

On white

19.61
#050530 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#050530 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050530
19.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050530#FFFFFF#000000##FFFFFF
##0505301.0019.611.0719.61
#FFFFFF19.611.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E31
Deuteranopia (green-blind)
#00092F
Tritanopia (blue-blind)
#00111A
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #050530;
/* rgb */ color: rgb(5, 5, 48);
/* oklch */ color: oklch(16.0% 0.083 271.9);
Tailwind
colors: {
  custom: {
    50: '#4b4869',
    500: '#050530',
    950: '#000000',
  },
}
SCSS
$custom: #050530;
$custom-light: #4b4869;
$custom-dark: #000000;
JSON
{
  "hex": "#050530",
  "rgb": {
    "r": 5,
    "g": 5,
    "b": 48
  },
  "hsl": {
    "h": 240,
    "s": 81.132,
    "l": 10.392
  },
  "oklch": {
    "l": 0.16043,
    "c": 0.08329,
    "h": 271.9
  },
  "luminance": 0.00354
}

Semantic roles & 50–950 ramp

primary
#050530
secondary
#72721F
accent
#F830F8
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #050530

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

Preview Lab → · Contrast checker → · Palette generator →

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