#050426#050426

#050426 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 14.4% C 0.070 H 275.1°. Best body text is #FFFFFF at 19.97:1 contrast (WCAG AA passes).

Color values

HEX#050426
RGBrgb(5, 4, 38)
HSLhsl(242, 81%, 8%)
HSVhsv(242, 89%, 15%)
CMYKcmyk(86.8%, 89.5%, 0%, 85.1%)
CIE-LABlab(2.34, 8.58, -19.88)
CIE-LCHlch(2.34, 21.66, 293.35°)
OKLaboklab(14.4% 0.0062 -0.0695)
OKLCHoklch(14.4% 0.07 275.1)
XYZxyz(0.4557, 0.2590, 1.8593)
Luminance0.0026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050426 #252604
analogous
#041426 #050426 #160426
triadic
#050426 #260504 #042605
tetradic
#050426 #260414 #252604 #042616
square
#050426 #260414 #252604 #042616
split-complementary
#050426 #261604 #142604
monochromatic
#04031C #04031C #050426 #0C0A5D #141095

Accessibility & contrast

On white

19.97
#050426 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#050426 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050426
19.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050426#FFFFFF#000000##FFFFFF
##0504261.0019.971.0519.97
#FFFFFF19.971.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A27
Deuteranopia (green-blind)
#000725
Tritanopia (blue-blind)
#000D13
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #050426;
/* rgb */ color: rgb(5, 4, 38);
/* oklch */ color: oklch(14.4% 0.070 275.1);
Tailwind
colors: {
  custom: {
    50: '#494860',
    500: '#050426',
    950: '#000000',
  },
}
SCSS
$custom: #050426;
$custom-light: #494860;
$custom-dark: #000000;
JSON
{
  "hex": "#050426",
  "rgb": {
    "r": 5,
    "g": 4,
    "b": 38
  },
  "hsl": {
    "h": 241.765,
    "s": 80.952,
    "l": 8.235
  },
  "oklch": {
    "l": 0.14403,
    "c": 0.06977,
    "h": 275.1
  },
  "luminance": 0.00259
}

Semantic roles & 50–950 ramp

primary
#050426
secondary
#67691D
accent
#F730F1
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010005
muted
#777779

Preview Lab

Preview with #050426

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

Preview Lab → · Contrast checker → · Palette generator →

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