#050531#050531

#050531 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.2% C 0.085 H 271.7°. Best body text is #FFFFFF at 19.58:1 contrast (WCAG AA passes).

Color values

HEX#050531
RGBrgb(5, 5, 49)
HSLhsl(240, 81%, 11%)
HSVhsv(240, 90%, 19%)
CMYKcmyk(89.8%, 89.8%, 0%, 80.8%)
CIE-LABlab(3.27, 13.37, -26.77)
CIE-LCHlch(3.27, 29.92, 296.55°)
OKLaboklab(16.18% 0.0026 -0.0848)
OKLCHoklch(16.18% 0.085 271.7)
XYZxyz(0.6710, 0.3625, 2.9397)
Luminance0.0036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050531 #313105
analogous
#051B31 #050531 #1B0531
triadic
#050531 #310505 #053105
tetradic
#050531 #31051B #313105 #05311B
square
#050531 #31051B #313105 #05311B
split-complementary
#050531 #311B05 #1B3105
monochromatic
#03031C #03031C #050531 #0B0B69 #1010A0

Accessibility & contrast

On white

19.58
#050531 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050531
19.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050531#FFFFFF#000000##FFFFFF
##0505311.0019.581.0719.58
#FFFFFF19.581.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E32
Deuteranopia (green-blind)
#000A30
Tritanopia (blue-blind)
#00121A
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #050531;
/* rgb */ color: rgb(5, 5, 49);
/* oklch */ color: oklch(16.2% 0.085 271.7);
Tailwind
colors: {
  custom: {
    50: '#4b4869',
    500: '#050531',
    950: '#000000',
  },
}
SCSS
$custom: #050531;
$custom-light: #4b4869;
$custom-dark: #000000;
JSON
{
  "hex": "#050531",
  "rgb": {
    "r": 5,
    "g": 5,
    "b": 49
  },
  "hsl": {
    "h": 240,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.16181,
    "c": 0.08479,
    "h": 271.7
  },
  "luminance": 0.00363
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #050531

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

Preview Lab → · Contrast checker → · Palette generator →

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