#050B40#050B40

#050B40 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.4% C 0.099 H 268.1°. Best body text is #FFFFFF at 18.61:1 contrast (WCAG AA passes).

Color values

HEX#050B40
RGBrgb(5, 11, 64)
HSLhsl(234, 86%, 14%)
HSVhsv(234, 92%, 25%)
CMYKcmyk(92.2%, 82.8%, 0%, 74.9%)
CIE-LABlab(5.80, 19.40, -33.63)
CIE-LCHlch(5.80, 38.83, 299.98°)
OKLaboklab(19.42% -0.0032 -0.0987)
OKLCHoklch(19.42% 0.099 268.1)
XYZxyz(1.1074, 0.6416, 4.9150)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050B40 #403A05
analogous
#052840 #050B40 #1C0540
triadic
#050B40 #40050B #0B4005
tetradic
#050B40 #400528 #403A05 #05401C
square
#050B40 #400528 #403A05 #05401C
split-complementary
#050B40 #401C05 #284005
monochromatic
#02051C #02051C #050B40 #091579 #0E1FB2

Accessibility & contrast

On white

18.61
#050B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050B40
18.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050B40#FFFFFF#000000##FFFFFF
##050B401.0018.611.1318.61
#FFFFFF18.611.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001642
Deuteranopia (green-blind)
#00103F
Tritanopia (blue-blind)
#001A24
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #050b40;
/* rgb */ color: rgb(5, 11, 64);
/* oklch */ color: oklch(19.4% 0.099 268.1);
Tailwind
colors: {
  custom: {
    50: '#524a75',
    500: '#050b40',
    950: '#000000',
  },
}
SCSS
$custom: #050b40;
$custom-light: #524a75;
$custom-dark: #000000;
JSON
{
  "hex": "#050b40",
  "rgb": {
    "r": 5,
    "g": 11,
    "b": 64
  },
  "hsl": {
    "h": 233.898,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.19423,
    "c": 0.09873,
    "h": 268.1
  },
  "luminance": 0.00642
}

Semantic roles & 50–950 ramp

primary
#050B40
secondary
#817720
accent
#E72CFC
background
#F4F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #050B40

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

Preview Lab → · Contrast checker → · Palette generator →

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