#050B36#050B36

#050B36 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.2% C 0.084 H 268.6°. Best body text is #FFFFFF at 18.96:1 contrast (WCAG AA passes).

Color values

HEX#050B36
RGBrgb(5, 11, 54)
HSLhsl(233, 83%, 12%)
HSVhsv(233, 91%, 21%)
CMYKcmyk(90.7%, 79.6%, 0%, 78.8%)
CIE-LABlab(4.86, 13.79, -27.92)
CIE-LCHlch(4.86, 31.14, 296.29°)
OKLaboklab(18.17% -0.002 -0.0835)
OKLCHoklch(18.17% 0.084 268.6)
XYZxyz(0.8479, 0.5379, 3.5484)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050B36 #363005
analogous
#052436 #050B36 #180536
triadic
#050B36 #36050B #0B3605
tetradic
#050B36 #360524 #363005 #053618
square
#050B36 #360524 #363005 #053618
split-complementary
#050B36 #361805 #243605
monochromatic
#03061C #03061C #050B36 #0A166E #0F22A6

Accessibility & contrast

On white

18.96
#050B36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#050B36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050B36
18.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050B36#FFFFFF#000000##FFFFFF
##050B361.0018.961.1118.96
#FFFFFF18.961.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001337
Deuteranopia (green-blind)
#000E35
Tritanopia (blue-blind)
#00171F
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #050b36;
/* rgb */ color: rgb(5, 11, 54);
/* oklch */ color: oklch(18.2% 0.084 268.6);
Tailwind
colors: {
  custom: {
    50: '#4d4b6d',
    500: '#050b36',
    950: '#000000',
  },
}
SCSS
$custom: #050b36;
$custom-light: #4d4b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#050b36",
  "rgb": {
    "r": 5,
    "g": 11,
    "b": 54
  },
  "hsl": {
    "h": 232.653,
    "s": 83.051,
    "l": 11.569
  },
  "oklch": {
    "l": 0.18167,
    "c": 0.08354,
    "h": 268.6
  },
  "luminance": 0.00538
}

Semantic roles & 50–950 ramp

primary
#050B36
secondary
#776D20
accent
#E12EF9
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020107
muted
#78777A

Preview Lab

Preview with #050B36

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

Preview Lab → · Contrast checker → · Palette generator →

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