#050947#050947

#050947 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.0% C 0.111 H 268.1°. Best body text is #FFFFFF at 18.48:1 contrast (WCAG AA passes).

Color values

HEX#050947
RGBrgb(5, 9, 71)
HSLhsl(236, 87%, 15%)
HSVhsv(236, 93%, 28%)
CMYKcmyk(93%, 87.3%, 0%, 72.2%)
CIE-LABlab(6.16, 23.95, -37.99)
CIE-LCHlch(6.16, 44.91, 302.23°)
OKLaboklab(20.01% -0.0038 -0.1109)
OKLCHoklch(20.01% 0.111 268.1)
XYZxyz(1.2972, 0.6824, 6.0234)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050947 #474305
analogous
#052A47 #050947 #220547
triadic
#050947 #470509 #094705
tetradic
#050947 #47052A #474305 #054722
square
#050947 #47052A #474305 #054722
split-complementary
#050947 #472205 #2A4705
monochromatic
#02041D #02041D #050947 #091080 #0D17B9

Accessibility & contrast

On white

18.48
#050947 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#050947 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050947
18.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050947#FFFFFF#000000##FFFFFF
##0509471.0018.481.1418.48
#FFFFFF18.481.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #050947;
/* rgb */ color: rgb(5, 9, 71);
/* oklch */ color: oklch(20.0% 0.111 268.1);
Tailwind
colors: {
  custom: {
    50: '#55497b',
    500: '#050947',
    950: '#000000',
  },
}
SCSS
$custom: #050947;
$custom-light: #55497b;
$custom-dark: #000000;
JSON
{
  "hex": "#050947",
  "rgb": {
    "r": 5,
    "g": 9,
    "b": 71
  },
  "hsl": {
    "h": 236.364,
    "s": 86.842,
    "l": 14.902
  },
  "oklch": {
    "l": 0.20013,
    "c": 0.11096,
    "h": 268.1
  },
  "luminance": 0.00683
}

Semantic roles & 50–950 ramp

primary
#050947
secondary
#878121
accent
#F02BFD
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030109
muted
#78777B

Preview Lab

Preview with #050947

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

Preview Lab → · Contrast checker → · Palette generator →

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