#050A46#050A46

#050A46 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.0% C 0.108 H 268.0°. Best body text is #FFFFFF at 18.45:1 contrast (WCAG AA passes).

Color values

HEX#050A46
RGBrgb(5, 10, 70)
HSLhsl(235, 87%, 15%)
HSVhsv(235, 93%, 27%)
CMYKcmyk(92.9%, 85.7%, 0%, 72.5%)
CIE-LABlab(6.25, 22.95, -37.15)
CIE-LCHlch(6.25, 43.67, 301.71°)
OKLaboklab(20.04% -0.0038 -0.1084)
OKLCHoklch(20.04% 0.108 268)
XYZxyz(1.2762, 0.6914, 5.8593)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050A46 #464105
analogous
#052A46 #050A46 #210546
triadic
#050A46 #46050A #0A4605
tetradic
#050A46 #46052A #464105 #054621
square
#050A46 #46052A #464105 #054621
split-complementary
#050A46 #462105 #2A4605
monochromatic
#02041D #02041D #050A46 #09127F #0D1AB8

Accessibility & contrast

On white

18.45
#050A46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#050A46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050A46
18.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050A46#FFFFFF#000000##FFFFFF
##050A461.0018.451.1418.45
#FFFFFF18.451.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001748
Deuteranopia (green-blind)
#001045
Tritanopia (blue-blind)
#001C27
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #050a46;
/* rgb */ color: rgb(5, 10, 70);
/* oklch */ color: oklch(20.0% 0.108 268.0);
Tailwind
colors: {
  custom: {
    50: '#544a7a',
    500: '#050a46',
    950: '#000000',
  },
}
SCSS
$custom: #050a46;
$custom-light: #544a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#050a46",
  "rgb": {
    "r": 5,
    "g": 10,
    "b": 70
  },
  "hsl": {
    "h": 235.385,
    "s": 86.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.20041,
    "c": 0.10849,
    "h": 268
  },
  "luminance": 0.00692
}

Semantic roles & 50–950 ramp

primary
#050A46
secondary
#867E21
accent
#ED2BFD
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030109
muted
#78777B

Preview Lab

Preview with #050A46

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

Preview Lab → · Contrast checker → · Palette generator →

#050A46 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva