#050626#050626

#050626 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.0% C 0.066 H 273.4°. Best body text is #FFFFFF at 19.80:1 contrast (WCAG AA passes).

Color values

HEX#050626
RGBrgb(5, 6, 38)
HSLhsl(238, 77%, 8%)
HSVhsv(238, 87%, 15%)
CMYKcmyk(86.8%, 84.2%, 0%, 85.1%)
CIE-LABlab(2.73, 7.78, -19.27)
CIE-LCHlch(2.73, 20.79, 291.99°)
OKLaboklab(15.01% 0.0039 -0.0654)
OKLCHoklch(15.01% 0.066 273.4)
XYZxyz(0.4774, 0.3024, 1.8666)
Luminance0.0030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050626 #262505
analogous
#051626 #050626 #140526
triadic
#050626 #260506 #062605
tetradic
#050626 #260516 #262505 #052614
square
#050626 #260516 #262505 #052614
split-complementary
#050626 #261405 #162605
monochromatic
#04041B #04041B #050626 #0C0F5C #131792

Accessibility & contrast

On white

19.80
#050626 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050626
19.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050626#FFFFFF#000000##FFFFFF
##0506261.0019.801.0619.80
#FFFFFF19.801.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C27
Deuteranopia (green-blind)
#000825
Tritanopia (blue-blind)
#000E14
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #050626;
/* rgb */ color: rgb(5, 6, 38);
/* oklch */ color: oklch(15.0% 0.066 273.4);
Tailwind
colors: {
  custom: {
    50: '#494960',
    500: '#050626',
    950: '#000000',
  },
}
SCSS
$custom: #050626;
$custom-light: #494960;
$custom-dark: #000000;
JSON
{
  "hex": "#050626",
  "rgb": {
    "r": 5,
    "g": 6,
    "b": 38
  },
  "hsl": {
    "h": 238.182,
    "s": 76.744,
    "l": 8.431
  },
  "oklch": {
    "l": 0.1501,
    "c": 0.06555,
    "h": 273.4
  },
  "luminance": 0.00302
}

Semantic roles & 50–950 ramp

primary
#050626
secondary
#68651F
accent
#EE35F3
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010005
muted
#777779

Preview Lab

Preview with #050626

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

Preview Lab → · Contrast checker → · Palette generator →

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