#050434#050434

#050434 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.4% C 0.091 H 271.5°. Best body text is #FFFFFF at 19.56:1 contrast (WCAG AA passes).

Color values

HEX#050434
RGBrgb(5, 4, 52)
HSLhsl(241, 86%, 11%)
HSVhsv(241, 92%, 20%)
CMYKcmyk(90.4%, 92.3%, 0%, 79.6%)
CIE-LABlab(3.32, 15.43, -28.93)
CIE-LCHlch(3.32, 32.79, 298.08°)
OKLaboklab(16.36% 0.0024 -0.0908)
OKLCHoklch(16.36% 0.091 271.5)
XYZxyz(0.7256, 0.3670, 3.2807)
Luminance0.0037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050434 #333404
analogous
#041B34 #050434 #1D0434
triadic
#050434 #340504 #043405
tetradic
#050434 #34041B #333404 #04341D
square
#050434 #34041B #333404 #04341D
split-complementary
#050434 #341D04 #1B3404
monochromatic
#03021C #03021C #050434 #0A086D #100DA6

Accessibility & contrast

On white

19.56
#050434 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#050434 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050434
19.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050434#FFFFFF#000000##FFFFFF
##0504341.0019.561.0719.56
#FFFFFF19.561.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E35
Deuteranopia (green-blind)
#000933
Tritanopia (blue-blind)
#00121B
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #050434;
/* rgb */ color: rgb(5, 4, 52);
/* oklch */ color: oklch(16.4% 0.091 271.5);
Tailwind
colors: {
  custom: {
    50: '#4c486c',
    500: '#050434',
    950: '#000000',
  },
}
SCSS
$custom: #050434;
$custom-light: #4c486c;
$custom-dark: #000000;
JSON
{
  "hex": "#050434",
  "rgb": {
    "r": 5,
    "g": 4,
    "b": 52
  },
  "hsl": {
    "h": 241.25,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.16356,
    "c": 0.09087,
    "h": 271.5
  },
  "luminance": 0.00367
}

Semantic roles & 50–950 ramp

primary
#050434
secondary
#74761E
accent
#FC2CF8
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020007
muted
#78777A

Preview Lab

Preview with #050434

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

Preview Lab → · Contrast checker → · Palette generator →

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