#050B32#050B32

#050B32 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.7% C 0.077 H 268.8°. Best body text is #FFFFFF at 19.08:1 contrast (WCAG AA passes).

Color values

HEX#050B32
RGBrgb(5, 11, 50)
HSLhsl(232, 82%, 11%)
HSVhsv(232, 90%, 20%)
CMYKcmyk(90%, 78%, 0%, 80.4%)
CIE-LABlab(4.53, 11.50, -25.50)
CIE-LCHlch(4.53, 27.97, 294.29°)
OKLaboklab(17.69% -0.0017 -0.0771)
OKLCHoklch(17.69% 0.077 268.8)
XYZxyz(0.7578, 0.5018, 3.0739)
Luminance0.0050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050B32 #322C05
analogous
#052132 #050B32 #150532
triadic
#050B32 #32050B #0B3205
tetradic
#050B32 #320521 #322C05 #053215
square
#050B32 #320521 #322C05 #053215
split-complementary
#050B32 #321505 #213205
monochromatic
#03061C #03061C #050B32 #0B176A #1023A1

Accessibility & contrast

On white

19.08
#050B32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#050B32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050B32
19.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050B32#FFFFFF#000000##FFFFFF
##050B321.0019.081.1019.08
#FFFFFF19.081.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001233
Deuteranopia (green-blind)
#000D31
Tritanopia (blue-blind)
#00151D
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #050b32;
/* rgb */ color: rgb(5, 11, 50);
/* oklch */ color: oklch(17.7% 0.077 268.8);
Tailwind
colors: {
  custom: {
    50: '#4c4b6a',
    500: '#050b32',
    950: '#000000',
  },
}
SCSS
$custom: #050b32;
$custom-light: #4c4b6a;
$custom-dark: #000000;
JSON
{
  "hex": "#050b32",
  "rgb": {
    "r": 5,
    "g": 11,
    "b": 50
  },
  "hsl": {
    "h": 232,
    "s": 81.818,
    "l": 10.784
  },
  "oklch": {
    "l": 0.17686,
    "c": 0.07716,
    "h": 268.8
  },
  "luminance": 0.00502
}

Semantic roles & 50–950 ramp

primary
#050B32
secondary
#73681F
accent
#DD30F8
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #050B32

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

Preview Lab → · Contrast checker → · Palette generator →

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