#050422#050422

#050422 is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 13.9% C 0.063 H 276.5°. Best body text is #FFFFFF at 20.06:1 contrast (WCAG AA passes).

Color values

HEX#050422
RGBrgb(5, 4, 34)
HSLhsl(242, 79%, 7%)
HSVhsv(242, 88%, 13%)
CMYKcmyk(85.3%, 88.2%, 0%, 86.7%)
CIE-LABlab(2.12, 7.03, -17.10)
CIE-LCHlch(2.12, 18.49, 292.35°)
OKLaboklab(13.88% 0.0072 -0.0629)
OKLCHoklch(13.88% 0.063 276.5)
XYZxyz(0.3946, 0.2346, 1.5375)
Luminance0.0024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050422 #212204
analogous
#041222 #050422 #140422
triadic
#050422 #220504 #042205
tetradic
#050422 #220412 #212204 #042214
square
#050422 #220412 #212204 #042214
split-complementary
#050422 #221404 #122204
monochromatic
#04031B #04031B #050422 #0D0A59 #151190

Accessibility & contrast

On white

20.06
#050422 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050422
20.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050422#FFFFFF#000000##FFFFFF
##0504221.0020.061.0520.06
#FFFFFF20.061.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000923
Deuteranopia (green-blind)
#000721
Tritanopia (blue-blind)
#000B11
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #050422;
/* rgb */ color: rgb(5, 4, 34);
/* oklch */ color: oklch(13.9% 0.063 276.5);
Tailwind
colors: {
  custom: {
    50: '#48485d',
    500: '#050422',
    950: '#000000',
  },
}
SCSS
$custom: #050422;
$custom-light: #48485d;
$custom-dark: #000000;
JSON
{
  "hex": "#050422",
  "rgb": {
    "r": 5,
    "g": 4,
    "b": 34
  },
  "hsl": {
    "h": 242,
    "s": 78.947,
    "l": 7.451
  },
  "oklch": {
    "l": 0.13879,
    "c": 0.06328,
    "h": 276.5
  },
  "luminance": 0.00235
}

Semantic roles & 50–950 ramp

primary
#050422
secondary
#62651D
accent
#F532EF
background
#F4F4F5
surface
#E6E6E9
border
#C2C2C5
text
#010004
muted
#777779

Preview Lab

Preview with #050422

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

Preview Lab → · Contrast checker → · Palette generator →

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