#050B41#050B41

#050B41 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.6% C 0.100 H 268.1°. Best body text is #FFFFFF at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#050B41
RGBrgb(5, 11, 65)
HSLhsl(234, 86%, 14%)
HSVhsv(234, 92%, 25%)
CMYKcmyk(92.3%, 83.1%, 0%, 74.5%)
CIE-LABlab(5.90, 19.93, -34.18)
CIE-LCHlch(5.90, 39.56, 300.25°)
OKLaboklab(19.55% -0.0034 -0.1001)
OKLCHoklch(19.55% 0.1 268.1)
XYZxyz(1.1361, 0.6531, 5.0662)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050B41 #413B05
analogous
#052941 #050B41 #1D0541
triadic
#050B41 #41050B #0B4105
tetradic
#050B41 #410529 #413B05 #05411D
square
#050B41 #410529 #413B05 #05411D
split-complementary
#050B41 #411D05 #294105
monochromatic
#02051C #02051C #050B41 #09157A #0E1EB3

Accessibility & contrast

On white

18.57
#050B41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050B41
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050B41#FFFFFF#000000##FFFFFF
##050B411.0018.571.1318.57
#FFFFFF18.571.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #050b41;
/* rgb */ color: rgb(5, 11, 65);
/* oklch */ color: oklch(19.6% 0.100 268.1);
Tailwind
colors: {
  custom: {
    50: '#524a76',
    500: '#050b41',
    950: '#000000',
  },
}
SCSS
$custom: #050b41;
$custom-light: #524a76;
$custom-dark: #000000;
JSON
{
  "hex": "#050b41",
  "rgb": {
    "r": 5,
    "g": 11,
    "b": 65
  },
  "hsl": {
    "h": 234,
    "s": 85.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.19553,
    "c": 0.1002,
    "h": 268.1
  },
  "luminance": 0.00653
}

Semantic roles & 50–950 ramp

primary
#050B41
secondary
#817820
accent
#E72CFC
background
#F5F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #050B41

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

Preview Lab → · Contrast checker → · Palette generator →

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