#050B42#050B42

#050B42 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.7% C 0.102 H 268.0°. Best body text is #FFFFFF at 18.53:1 contrast (WCAG AA passes).

Color values

HEX#050B42
RGBrgb(5, 11, 66)
HSLhsl(234, 86%, 14%)
HSVhsv(234, 92%, 26%)
CMYKcmyk(92.4%, 83.3%, 0%, 74.1%)
CIE-LABlab(6.01, 20.44, -34.72)
CIE-LCHlch(6.01, 40.29, 300.49°)
OKLaboklab(19.68% -0.0035 -0.1016)
OKLCHoklch(19.68% 0.102 268)
XYZxyz(1.1653, 0.6648, 5.2201)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050B42 #423C05
analogous
#052A42 #050B42 #1E0542
triadic
#050B42 #42050B #0B4205
tetradic
#050B42 #42052A #423C05 #05421E
square
#050B42 #42052A #423C05 #05421E
split-complementary
#050B42 #421E05 #2A4205
monochromatic
#02051C #02051C #050B42 #09147B #0E1EB4

Accessibility & contrast

On white

18.53
#050B42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#050B42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050B42
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050B42#FFFFFF#000000##FFFFFF
##050B421.0018.531.1318.53
#FFFFFF18.531.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001644
Deuteranopia (green-blind)
#001041
Tritanopia (blue-blind)
#001B25
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #050b42;
/* rgb */ color: rgb(5, 11, 66);
/* oklch */ color: oklch(19.7% 0.102 268.0);
Tailwind
colors: {
  custom: {
    50: '#534a77',
    500: '#050b42',
    950: '#000000',
  },
}
SCSS
$custom: #050b42;
$custom-light: #534a77;
$custom-dark: #000000;
JSON
{
  "hex": "#050b42",
  "rgb": {
    "r": 5,
    "g": 11,
    "b": 66
  },
  "hsl": {
    "h": 234.098,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.19683,
    "c": 0.10165,
    "h": 268
  },
  "luminance": 0.00665
}

Semantic roles & 50–950 ramp

primary
#050B42
secondary
#827920
accent
#E82CFC
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #050B42

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

Preview Lab → · Contrast checker → · Palette generator →

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