#050646#050646

#050646 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.4% C 0.113 H 268.6°. Best body text is #FFFFFF at 18.73:1 contrast (WCAG AA passes).

Color values

HEX#050646
RGBrgb(5, 6, 70)
HSLhsl(239, 87%, 15%)
HSVhsv(239, 93%, 27%)
CMYKcmyk(92.9%, 91.4%, 0%, 72.5%)
CIE-LABlab(5.46, 24.97, -38.44)
CIE-LCHlch(5.46, 45.84, 303.01°)
OKLaboklab(19.36% -0.0028 -0.113)
OKLCHoklch(19.36% 0.113 268.6)
XYZxyz(1.2328, 0.6046, 5.8449)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050646 #464505
analogous
#052746 #050646 #250546
triadic
#050646 #460506 #064605
tetradic
#050646 #460527 #464505 #054625
square
#050646 #460527 #464505 #054625
split-complementary
#050646 #462505 #274605
monochromatic
#02021D #02021D #050646 #090B7F #0D10B8

Accessibility & contrast

On white

18.73
#050646 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#050646 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050646
18.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050646#FFFFFF#000000##FFFFFF
##0506461.0018.731.1218.73
#FFFFFF18.731.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001548
Deuteranopia (green-blind)
#000E45
Tritanopia (blue-blind)
#001A27
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #050646;
/* rgb */ color: rgb(5, 6, 70);
/* oklch */ color: oklch(19.4% 0.113 268.6);
Tailwind
colors: {
  custom: {
    50: '#54487a',
    500: '#050646',
    950: '#000000',
  },
}
SCSS
$custom: #050646;
$custom-light: #54487a;
$custom-dark: #000000;
JSON
{
  "hex": "#050646",
  "rgb": {
    "r": 5,
    "g": 6,
    "b": 70
  },
  "hsl": {
    "h": 239.077,
    "s": 86.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.19364,
    "c": 0.11301,
    "h": 268.6
  },
  "luminance": 0.00605
}

Semantic roles & 50–950 ramp

primary
#050646
secondary
#868421
accent
#FA2BFD
background
#F5F4F7
surface
#E9E6EE
border
#C5C2C9
text
#030009
muted
#78777B

Preview Lab

Preview with #050646

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

Preview Lab → · Contrast checker → · Palette generator →

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