#050A41#050A41

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

Color values

HEX#050A41
RGBrgb(5, 10, 65)
HSLhsl(235, 86%, 14%)
HSVhsv(235, 92%, 25%)
CMYKcmyk(92.3%, 84.6%, 0%, 74.5%)
CIE-LABlab(5.70, 20.42, -34.51)
CIE-LCHlch(5.70, 40.09, 300.61°)
OKLaboklab(19.38% -0.003 -0.1013)
OKLCHoklch(19.38% 0.101 268.3)
XYZxyz(1.1249, 0.6309, 5.0625)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050A41 #413C05
analogous
#052841 #050A41 #1E0541
triadic
#050A41 #41050A #0A4105
tetradic
#050A41 #410528 #413C05 #05411E
square
#050A41 #410528 #413C05 #05411E
split-complementary
#050A41 #411E05 #284105
monochromatic
#02041C #02041C #050A41 #09137A #0E1BB3

Accessibility & contrast

On white

18.65
#050A41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050A41
18.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050A41#FFFFFF#000000##FFFFFF
##050A411.0018.651.1318.65
#FFFFFF18.651.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001643
Deuteranopia (green-blind)
#000F40
Tritanopia (blue-blind)
#001A25
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #050a41;
/* rgb */ color: rgb(5, 10, 65);
/* oklch */ color: oklch(19.4% 0.101 268.3);
Tailwind
colors: {
  custom: {
    50: '#524a76',
    500: '#050a41',
    950: '#000000',
  },
}
SCSS
$custom: #050a41;
$custom-light: #524a76;
$custom-dark: #000000;
JSON
{
  "hex": "#050a41",
  "rgb": {
    "r": 5,
    "g": 10,
    "b": 65
  },
  "hsl": {
    "h": 235,
    "s": 85.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.19375,
    "c": 0.10137,
    "h": 268.3
  },
  "luminance": 0.00631
}

Semantic roles & 50–950 ramp

primary
#050A41
secondary
#817920
accent
#EB2CFC
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #050A41

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

Preview Lab → · Contrast checker → · Palette generator →

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