#050423#050423

#050423 is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 14.0% C 0.065 H 276.1°. Best body text is #FFFFFF at 20.04:1 contrast (WCAG AA passes).

Color values

HEX#050423
RGBrgb(5, 4, 35)
HSLhsl(242, 79%, 8%)
HSVhsv(242, 89%, 14%)
CMYKcmyk(85.7%, 88.6%, 0%, 86.3%)
CIE-LABlab(2.17, 7.41, -17.81)
CIE-LCHlch(2.17, 19.28, 292.59°)
OKLaboklab(14.01% 0.0069 -0.0646)
OKLCHoklch(14.01% 0.065 276.1)
XYZxyz(0.4093, 0.2404, 1.6146)
Luminance0.0024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050423 #222304
analogous
#041323 #050423 #140423
triadic
#050423 #230504 #042305
tetradic
#050423 #230413 #222304 #042314
square
#050423 #230413 #222304 #042314
split-complementary
#050423 #231404 #132304
monochromatic
#04031B #04031B #050423 #0D0A5A #151191

Accessibility & contrast

On white

20.04
#050423 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050423
20.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050423#FFFFFF#000000##FFFFFF
##0504231.0020.041.0520.04
#FFFFFF20.041.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000924
Deuteranopia (green-blind)
#000722
Tritanopia (blue-blind)
#000B12
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #050423;
/* rgb */ color: rgb(5, 4, 35);
/* oklch */ color: oklch(14.0% 0.065 276.1);
Tailwind
colors: {
  custom: {
    50: '#48485e',
    500: '#050423',
    950: '#000000',
  },
}
SCSS
$custom: #050423;
$custom-light: #48485e;
$custom-dark: #000000;
JSON
{
  "hex": "#050423",
  "rgb": {
    "r": 5,
    "g": 4,
    "b": 35
  },
  "hsl": {
    "h": 241.935,
    "s": 79.487,
    "l": 7.647
  },
  "oklch": {
    "l": 0.14008,
    "c": 0.06493,
    "h": 276.1
  },
  "luminance": 0.0024
}

Semantic roles & 50–950 ramp

primary
#050423
secondary
#63661D
accent
#F632F0
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010004
muted
#777779

Preview Lab

Preview with #050423

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

Preview Lab → · Contrast checker → · Palette generator →

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