#050D46#050D46

#050D46 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.6% C 0.105 H 267.4°. Best body text is #FFFFFF at 18.22:1 contrast (WCAG AA passes).

Color values

HEX#050D46
RGBrgb(5, 13, 70)
HSLhsl(233, 87%, 15%)
HSVhsv(233, 93%, 27%)
CMYKcmyk(92.9%, 81.4%, 0%, 72.5%)
CIE-LABlab(6.88, 21.29, -36.10)
CIE-LCHlch(6.88, 41.91, 300.53°)
OKLaboklab(20.56% -0.0048 -0.1049)
OKLCHoklch(20.56% 0.105 267.4)
XYZxyz(1.3116, 0.7621, 5.8711)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050D46 #463E05
analogous
#052E46 #050D46 #1D0546
triadic
#050D46 #46050D #0D4605
tetradic
#050D46 #46052E #463E05 #05461D
square
#050D46 #46052E #463E05 #05461D
split-complementary
#050D46 #461D05 #2E4605
monochromatic
#02051D #02051D #050D46 #09187F #0D22B8

Accessibility & contrast

On white

18.22
#050D46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050D46
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050D46#FFFFFF#000000##FFFFFF
##050D461.0018.221.1518.22
#FFFFFF18.221.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001848
Deuteranopia (green-blind)
#001245
Tritanopia (blue-blind)
#001E28
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #050d46;
/* rgb */ color: rgb(5, 13, 70);
/* oklch */ color: oklch(20.6% 0.105 267.4);
Tailwind
colors: {
  custom: {
    50: '#544c7a',
    500: '#050d46',
    950: '#000000',
  },
}
SCSS
$custom: #050d46;
$custom-light: #544c7a;
$custom-dark: #000000;
JSON
{
  "hex": "#050d46",
  "rgb": {
    "r": 5,
    "g": 13,
    "b": 70
  },
  "hsl": {
    "h": 232.615,
    "s": 86.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.20561,
    "c": 0.10505,
    "h": 267.4
  },
  "luminance": 0.00762
}

Semantic roles & 50–950 ramp

primary
#050D46
secondary
#867A21
accent
#E32BFD
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030109
muted
#78777B

Preview Lab

Preview with #050D46

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

Preview Lab → · Contrast checker → · Palette generator →

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