#050F47#050F47

#050F47 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.1% C 0.104 H 266.9°. Best body text is #FFFFFF at 18.01:1 contrast (WCAG AA passes).

Color values

HEX#050F47
RGBrgb(5, 15, 71)
HSLhsl(231, 87%, 15%)
HSVhsv(231, 93%, 28%)
CMYKcmyk(93%, 78.9%, 0%, 72.2%)
CIE-LABlab(7.49, 20.46, -35.82)
CIE-LCHlch(7.49, 41.25, 299.74°)
OKLaboklab(21.06% -0.0057 -0.1039)
OKLCHoklch(21.06% 0.104 266.9)
XYZxyz(1.3703, 0.8287, 6.0477)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050F47 #473D05
analogous
#053047 #050F47 #1C0547
triadic
#050F47 #47050F #0F4705
tetradic
#050F47 #470530 #473D05 #05471C
square
#050F47 #470530 #473D05 #05471C
split-complementary
#050F47 #471C05 #304705
monochromatic
#02061D #02061D #050F47 #091B80 #0D27B9

Accessibility & contrast

On white

18.01
#050F47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#050F47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050F47
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050F47#FFFFFF#000000##FFFFFF
##050F471.0018.011.1718.01
#FFFFFF18.011.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A49
Deuteranopia (green-blind)
#001346
Tritanopia (blue-blind)
#001F29
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #050f47;
/* rgb */ color: rgb(5, 15, 71);
/* oklch */ color: oklch(21.1% 0.104 266.9);
Tailwind
colors: {
  custom: {
    50: '#544d7b',
    500: '#050f47',
    950: '#000000',
  },
}
SCSS
$custom: #050f47;
$custom-light: #544d7b;
$custom-dark: #000000;
JSON
{
  "hex": "#050f47",
  "rgb": {
    "r": 5,
    "g": 15,
    "b": 71
  },
  "hsl": {
    "h": 230.909,
    "s": 86.842,
    "l": 14.902
  },
  "oklch": {
    "l": 0.21062,
    "c": 0.10405,
    "h": 266.9
  },
  "luminance": 0.00829
}

Semantic roles & 50–950 ramp

primary
#050F47
secondary
#877721
accent
#DD2BFD
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030109
muted
#78777B

Preview Lab

Preview with #050F47

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

Preview Lab → · Contrast checker → · Palette generator →

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