#050526#050526

#050526 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 14.7% C 0.068 H 274.3°. Best body text is #FFFFFF at 19.88:1 contrast (WCAG AA passes).

Color values

HEX#050526
RGBrgb(5, 5, 38)
HSLhsl(240, 77%, 8%)
HSVhsv(240, 87%, 15%)
CMYKcmyk(86.8%, 86.8%, 0%, 85.1%)
CIE-LABlab(2.54, 8.18, -19.58)
CIE-LCHlch(2.54, 21.22, 292.69°)
OKLaboklab(14.71% 0.005 -0.0674)
OKLCHoklch(14.71% 0.068 274.3)
XYZxyz(0.4666, 0.2807, 1.8629)
Luminance0.0028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050526 #262605
analogous
#051526 #050526 #150526
triadic
#050526 #260505 #052605
tetradic
#050526 #260515 #262605 #052615
square
#050526 #260515 #262605 #052615
split-complementary
#050526 #261505 #152605
monochromatic
#04041B #04041B #050526 #0C0C5C #131392

Accessibility & contrast

On white

19.88
#050526 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#050526 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050526
19.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050526#FFFFFF#000000##FFFFFF
##0505261.0019.881.0619.88
#FFFFFF19.881.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B27
Deuteranopia (green-blind)
#000825
Tritanopia (blue-blind)
#000D14
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #050526;
/* rgb */ color: rgb(5, 5, 38);
/* oklch */ color: oklch(14.7% 0.068 274.3);
Tailwind
colors: {
  custom: {
    50: '#494960',
    500: '#050526',
    950: '#000000',
  },
}
SCSS
$custom: #050526;
$custom-light: #494960;
$custom-dark: #000000;
JSON
{
  "hex": "#050526",
  "rgb": {
    "r": 5,
    "g": 5,
    "b": 38
  },
  "hsl": {
    "h": 240,
    "s": 76.744,
    "l": 8.431
  },
  "oklch": {
    "l": 0.14713,
    "c": 0.06761,
    "h": 274.3
  },
  "luminance": 0.00281
}

Semantic roles & 50–950 ramp

primary
#050526
secondary
#68681F
accent
#F335F3
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010005
muted
#777779

Preview Lab

Preview with #050526

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

Preview Lab → · Contrast checker → · Palette generator →

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