#050122#050122

#050122 is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 12.8% C 0.071 H 279.6°. Best body text is #FFFFFF at 20.31:1 contrast (WCAG AA passes).

Color values

HEX#050122
RGBrgb(5, 1, 34)
HSLhsl(247, 94%, 7%)
HSVhsv(247, 97%, 13%)
CMYKcmyk(85.3%, 97.1%, 0%, 86.7%)
CIE-LABlab(1.53, 8.24, -18.00)
CIE-LCHlch(1.53, 19.80, 294.59°)
OKLaboklab(12.77% 0.0119 -0.0704)
OKLCHoklch(12.77% 0.071 279.6)
XYZxyz(0.3621, 0.1694, 1.5267)
Luminance0.0017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050122 #1E2201
analogous
#010E22 #050122 #160122
triadic
#050122 #220501 #012205
tetradic
#050122 #22010E #1E2201 #012216
square
#050122 #22010E #1E2201 #012216
split-complementary
#050122 #221601 #0E2201
monochromatic
#04011E #04011E #050122 #0E035D #160499

Accessibility & contrast

On white

20.31
#050122 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.03
#050122 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050122
20.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050122#FFFFFF#000000##FFFFFF
##0501221.0020.311.0320.31
#FFFFFF20.311.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000723
Deuteranopia (green-blind)
#000521
Tritanopia (blue-blind)
#000810
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #050122;
/* rgb */ color: rgb(5, 1, 34);
/* oklch */ color: oklch(12.8% 0.071 279.6);
Tailwind
colors: {
  custom: {
    50: '#48475d',
    500: '#050122',
    950: '#000000',
  },
}
SCSS
$custom: #050122;
$custom-light: #48475d;
$custom-dark: #000000;
JSON
{
  "hex": "#050122",
  "rgb": {
    "r": 5,
    "g": 1,
    "b": 34
  },
  "hsl": {
    "h": 247.273,
    "s": 94.286,
    "l": 6.863
  },
  "oklch": {
    "l": 0.12772,
    "c": 0.07137,
    "h": 279.6
  },
  "luminance": 0.00169
}

Semantic roles & 50–950 ramp

primary
#050122
secondary
#5F6916
accent
#FF29E5
background
#F4F3F5
surface
#E6E5E9
border
#C2C1C5
text
#010004
muted
#777779

Preview Lab

Preview with #050122

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

Preview Lab → · Contrast checker → · Palette generator →

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