#050A42#050A42

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

Color values

HEX#050A42
RGBrgb(5, 10, 66)
HSLhsl(235, 86%, 14%)
HSVhsv(235, 92%, 26%)
CMYKcmyk(92.4%, 84.8%, 0%, 74.1%)
CIE-LABlab(5.80, 20.94, -35.04)
CIE-LCHlch(5.80, 40.82, 300.86°)
OKLaboklab(19.51% -0.0032 -0.1028)
OKLCHoklch(19.51% 0.103 268.2)
XYZxyz(1.1542, 0.6426, 5.2164)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050A42 #423D05
analogous
#052942 #050A42 #1F0542
triadic
#050A42 #42050A #0A4205
tetradic
#050A42 #420529 #423D05 #05421F
square
#050A42 #420529 #423D05 #05421F
split-complementary
#050A42 #421F05 #294205
monochromatic
#02041C #02041C #050A42 #09137B #0E1BB4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##050A42#FFFFFF#000000##FFFFFF
##050A421.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)
#001644
Deuteranopia (green-blind)
#001041
Tritanopia (blue-blind)
#001B25
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #050a42;
/* rgb */ color: rgb(5, 10, 66);
/* oklch */ color: oklch(19.5% 0.103 268.2);
Tailwind
colors: {
  custom: {
    50: '#534a77',
    500: '#050a42',
    950: '#000000',
  },
}
SCSS
$custom: #050a42;
$custom-light: #534a77;
$custom-dark: #000000;
JSON
{
  "hex": "#050a42",
  "rgb": {
    "r": 5,
    "g": 10,
    "b": 66
  },
  "hsl": {
    "h": 235.082,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.19507,
    "c": 0.10281,
    "h": 268.2
  },
  "luminance": 0.00643
}

Semantic roles & 50–950 ramp

primary
#050A42
secondary
#827A20
accent
#EB2CFC
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #050A42

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

Preview Lab → · Contrast checker → · Palette generator →

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