#050439#050439

#050439 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.1% C 0.098 H 270.6°. Best body text is #FFFFFF at 19.39:1 contrast (WCAG AA passes).

Color values

HEX#050439
RGBrgb(5, 4, 57)
HSLhsl(241, 87%, 12%)
HSVhsv(241, 93%, 22%)
CMYKcmyk(91.2%, 93%, 0%, 77.6%)
CIE-LABlab(3.74, 18.45, -31.92)
CIE-LCHlch(3.74, 36.87, 300.03°)
OKLaboklab(17.08% 0.001 -0.0979)
OKLCHoklch(17.08% 0.098 270.6)
XYZxyz(0.8443, 0.4144, 3.9056)
Luminance0.0042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050439 #383904
analogous
#041E39 #050439 #200439
triadic
#050439 #390504 #043905
tetradic
#050439 #39041E #383904 #043920
square
#050439 #39041E #383904 #043920
split-complementary
#050439 #392004 #1E3904
monochromatic
#03021D #03021D #050439 #0A0872 #0F0CAB

Accessibility & contrast

On white

19.39
#050439 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#050439 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050439
19.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050439#FFFFFF#000000##FFFFFF
##0504391.0019.391.0819.39
#FFFFFF19.391.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00103A
Deuteranopia (green-blind)
#000A38
Tritanopia (blue-blind)
#00141E
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #050439;
/* rgb */ color: rgb(5, 4, 57);
/* oklch */ color: oklch(17.1% 0.098 270.6);
Tailwind
colors: {
  custom: {
    50: '#4e4770',
    500: '#050439',
    950: '#000000',
  },
}
SCSS
$custom: #050439;
$custom-light: #4e4770;
$custom-dark: #000000;
JSON
{
  "hex": "#050439",
  "rgb": {
    "r": 5,
    "g": 4,
    "b": 57
  },
  "hsl": {
    "h": 241.132,
    "s": 86.885,
    "l": 11.961
  },
  "oklch": {
    "l": 0.17082,
    "c": 0.09794,
    "h": 270.6
  },
  "luminance": 0.00415
}

Semantic roles & 50–950 ramp

primary
#050439
secondary
#797B1E
accent
#FD2BF9
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#020007
muted
#78777A

Preview Lab

Preview with #050439

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

Preview Lab → · Contrast checker → · Palette generator →

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