#050A47#050A47

#050A47 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.2% C 0.110 H 267.9°. Best body text is #FFFFFF at 18.41:1 contrast (WCAG AA passes).

Color values

HEX#050A47
RGBrgb(5, 10, 71)
HSLhsl(235, 87%, 15%)
HSVhsv(235, 93%, 28%)
CMYKcmyk(93%, 85.9%, 0%, 72.2%)
CIE-LABlab(6.36, 23.44, -37.67)
CIE-LCHlch(6.36, 44.37, 301.89°)
OKLaboklab(20.18% -0.004 -0.1098)
OKLCHoklch(20.18% 0.11 267.9)
XYZxyz(1.3081, 0.7041, 6.0270)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050A47 #474205
analogous
#052B47 #050A47 #210547
triadic
#050A47 #47050A #0A4705
tetradic
#050A47 #47052B #474205 #054721
square
#050A47 #47052B #474205 #054721
split-complementary
#050A47 #472105 #2B4705
monochromatic
#02041D #02041D #050A47 #091280 #0D1AB9

Accessibility & contrast

On white

18.41
#050A47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050A47
18.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050A47#FFFFFF#000000##FFFFFF
##050A471.0018.411.1418.41
#FFFFFF18.411.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001749
Deuteranopia (green-blind)
#001146
Tritanopia (blue-blind)
#001D28
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #050a47;
/* rgb */ color: rgb(5, 10, 71);
/* oklch */ color: oklch(20.2% 0.110 267.9);
Tailwind
colors: {
  custom: {
    50: '#554a7b',
    500: '#050a47',
    950: '#000000',
  },
}
SCSS
$custom: #050a47;
$custom-light: #554a7b;
$custom-dark: #000000;
JSON
{
  "hex": "#050a47",
  "rgb": {
    "r": 5,
    "g": 10,
    "b": 71
  },
  "hsl": {
    "h": 235.455,
    "s": 86.842,
    "l": 14.902
  },
  "oklch": {
    "l": 0.20176,
    "c": 0.10988,
    "h": 267.9
  },
  "luminance": 0.00704
}

Semantic roles & 50–950 ramp

primary
#050A47
secondary
#877F21
accent
#ED2BFD
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030109
muted
#78777B

Preview Lab

Preview with #050A47

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

Preview Lab → · Contrast checker → · Palette generator →

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