#050C47#050C47

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

Color values

HEX#050C47
RGBrgb(5, 12, 71)
HSLhsl(234, 87%, 15%)
HSVhsv(234, 93%, 28%)
CMYKcmyk(93%, 83.1%, 0%, 72.2%)
CIE-LABlab(6.77, 22.35, -36.99)
CIE-LCHlch(6.77, 43.22, 301.14°)
OKLaboklab(20.51% -0.0046 -0.1076)
OKLCHoklch(20.51% 0.108 267.5)
XYZxyz(1.3310, 0.7500, 6.0346)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050C47 #474005
analogous
#052D47 #050C47 #1F0547
triadic
#050C47 #47050C #0C4705
tetradic
#050C47 #47052D #474005 #05471F
square
#050C47 #47052D #474005 #05471F
split-complementary
#050C47 #471F05 #2D4705
monochromatic
#02051D #02051D #050C47 #091680 #0D1FB9

Accessibility & contrast

On white

18.26
#050C47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#050C47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050C47
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050C47#FFFFFF#000000##FFFFFF
##050C471.0018.261.1518.26
#FFFFFF18.261.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001849
Deuteranopia (green-blind)
#001246
Tritanopia (blue-blind)
#001D29
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #050c47;
/* rgb */ color: rgb(5, 12, 71);
/* oklch */ color: oklch(20.5% 0.108 267.5);
Tailwind
colors: {
  custom: {
    50: '#544b7b',
    500: '#050c47',
    950: '#000000',
  },
}
SCSS
$custom: #050c47;
$custom-light: #544b7b;
$custom-dark: #000000;
JSON
{
  "hex": "#050c47",
  "rgb": {
    "r": 5,
    "g": 12,
    "b": 71
  },
  "hsl": {
    "h": 233.636,
    "s": 86.842,
    "l": 14.902
  },
  "oklch": {
    "l": 0.20511,
    "c": 0.10766,
    "h": 267.5
  },
  "luminance": 0.0075
}

Semantic roles & 50–950 ramp

primary
#050C47
secondary
#877C21
accent
#E72BFD
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030109
muted
#78777B

Preview Lab

Preview with #050C47

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

Preview Lab → · Contrast checker → · Palette generator →

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