#050846#050846

#050846 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.7% C 0.111 H 268.3°. Best body text is #FFFFFF at 18.59:1 contrast (WCAG AA passes).

Color values

HEX#050846
RGBrgb(5, 8, 70)
HSLhsl(237, 87%, 15%)
HSVhsv(237, 93%, 27%)
CMYKcmyk(92.9%, 88.6%, 0%, 72.5%)
CIE-LABlab(5.85, 23.97, -37.80)
CIE-LCHlch(5.85, 44.76, 302.38°)
OKLaboklab(19.71% -0.0033 -0.1106)
OKLCHoklch(19.71% 0.111 268.3)
XYZxyz(1.2545, 0.6480, 5.8521)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050846 #464305
analogous
#052946 #050846 #230546
triadic
#050846 #460508 #084605
tetradic
#050846 #460529 #464305 #054623
square
#050846 #460529 #464305 #054623
split-complementary
#050846 #462305 #294605
monochromatic
#02031D #02031D #050846 #090F7F #0D15B8

Accessibility & contrast

On white

18.59
#050846 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#050846 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050846
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050846#FFFFFF#000000##FFFFFF
##0508461.0018.591.1318.59
#FFFFFF18.591.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001648
Deuteranopia (green-blind)
#000F45
Tritanopia (blue-blind)
#001B27
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #050846;
/* rgb */ color: rgb(5, 8, 70);
/* oklch */ color: oklch(19.7% 0.111 268.3);
Tailwind
colors: {
  custom: {
    50: '#54497a',
    500: '#050846',
    950: '#000000',
  },
}
SCSS
$custom: #050846;
$custom-light: #54497a;
$custom-dark: #000000;
JSON
{
  "hex": "#050846",
  "rgb": {
    "r": 5,
    "g": 8,
    "b": 70
  },
  "hsl": {
    "h": 237.231,
    "s": 86.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.19708,
    "c": 0.1107,
    "h": 268.3
  },
  "luminance": 0.00648
}

Semantic roles & 50–950 ramp

primary
#050846
secondary
#868121
accent
#F32BFD
background
#F5F4F7
surface
#E9E6EE
border
#C5C2C9
text
#030009
muted
#78777B

Preview Lab

Preview with #050846

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

Preview Lab → · Contrast checker → · Palette generator →

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