#050629#050629

#050629 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.4% C 0.071 H 272.8°. Best body text is #FFFFFF at 19.73:1 contrast (WCAG AA passes).

Color values

HEX#050629
RGBrgb(5, 6, 41)
HSLhsl(238, 78%, 9%)
HSVhsv(238, 88%, 16%)
CMYKcmyk(87.8%, 85.4%, 0%, 83.9%)
CIE-LABlab(2.91, 9.06, -21.29)
CIE-LCHlch(2.91, 23.14, 293.05°)
OKLaboklab(15.38% 0.0034 -0.0704)
OKLCHoklch(15.38% 0.071 272.8)
XYZxyz(0.5278, 0.3226, 2.1318)
Luminance0.0032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050629 #292805
analogous
#051829 #050629 #160529
triadic
#050629 #290506 #062905
tetradic
#050629 #290518 #292805 #052916
square
#050629 #290518 #292805 #052916
split-complementary
#050629 #291605 #182905
monochromatic
#03041B #03041B #050629 #0C0E60 #121696

Accessibility & contrast

On white

19.73
#050629 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050629
19.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050629#FFFFFF#000000##FFFFFF
##0506291.0019.731.0619.73
#FFFFFF19.731.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C2A
Deuteranopia (green-blind)
#000928
Tritanopia (blue-blind)
#000F16
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #050629;
/* rgb */ color: rgb(5, 6, 41);
/* oklch */ color: oklch(15.4% 0.071 272.8);
Tailwind
colors: {
  custom: {
    50: '#494963',
    500: '#050629',
    950: '#000000',
  },
}
SCSS
$custom: #050629;
$custom-light: #494963;
$custom-dark: #000000;
JSON
{
  "hex": "#050629",
  "rgb": {
    "r": 5,
    "g": 6,
    "b": 41
  },
  "hsl": {
    "h": 238.333,
    "s": 78.261,
    "l": 9.02
  },
  "oklch": {
    "l": 0.15384,
    "c": 0.07051,
    "h": 272.8
  },
  "luminance": 0.00323
}

Semantic roles & 50–950 ramp

primary
#050629
secondary
#6B691F
accent
#EF33F5
background
#F4F4F5
surface
#E7E6EA
border
#C3C2C6
text
#010005
muted
#777779

Preview Lab

Preview with #050629

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

Preview Lab → · Contrast checker → · Palette generator →

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