#050B46#050B46

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

Color values

HEX#050B46
RGBrgb(5, 11, 70)
HSLhsl(234, 87%, 15%)
HSVhsv(234, 93%, 27%)
CMYKcmyk(92.9%, 84.3%, 0%, 72.5%)
CIE-LABlab(6.45, 22.44, -36.82)
CIE-LCHlch(6.45, 43.12, 301.35°)
OKLaboklab(20.21% -0.0041 -0.1073)
OKLCHoklch(20.21% 0.107 267.8)
XYZxyz(1.2874, 0.7136, 5.8631)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050B46 #464005
analogous
#052B46 #050B46 #200546
triadic
#050B46 #46050B #0B4605
tetradic
#050B46 #46052B #464005 #054620
square
#050B46 #46052B #464005 #054620
split-complementary
#050B46 #462005 #2B4605
monochromatic
#02041D #02041D #050B46 #09147F #0D1DB8

Accessibility & contrast

On white

18.38
#050B46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050B46
18.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050B46#FFFFFF#000000##FFFFFF
##050B461.0018.381.1418.38
#FFFFFF18.381.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #050b46;
/* rgb */ color: rgb(5, 11, 70);
/* oklch */ color: oklch(20.2% 0.107 267.8);
Tailwind
colors: {
  custom: {
    50: '#544a7a',
    500: '#050b46',
    950: '#000000',
  },
}
SCSS
$custom: #050b46;
$custom-light: #544a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#050b46",
  "rgb": {
    "r": 5,
    "g": 11,
    "b": 70
  },
  "hsl": {
    "h": 234.462,
    "s": 86.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.20208,
    "c": 0.10738,
    "h": 267.8
  },
  "luminance": 0.00714
}

Semantic roles & 50–950 ramp

primary
#050B46
secondary
#867D21
accent
#E92BFD
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030109
muted
#78777B

Preview Lab

Preview with #050B46

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

Preview Lab → · Contrast checker → · Palette generator →

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