#050E41#050E41

#050E41 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.1% C 0.096 H 267.2°. Best body text is #FFFFFF at 18.33:1 contrast (WCAG AA passes).

Color values

HEX#050E41
RGBrgb(5, 14, 65)
HSLhsl(231, 86%, 14%)
HSVhsv(231, 92%, 25%)
CMYKcmyk(92.3%, 78.5%, 0%, 74.5%)
CIE-LABlab(6.58, 18.25, -33.07)
CIE-LCHlch(6.58, 37.77, 298.90°)
OKLaboklab(20.13% -0.0047 -0.0963)
OKLCHoklch(20.13% 0.096 267.2)
XYZxyz(1.1734, 0.7279, 5.0786)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050E41 #413805
analogous
#052C41 #050E41 #1A0541
triadic
#050E41 #41050E #0E4105
tetradic
#050E41 #41052C #413805 #05411A
square
#050E41 #41052C #413805 #05411A
split-complementary
#050E41 #411A05 #2C4105
monochromatic
#02061C #02061C #050E41 #091A7A #0E26B3

Accessibility & contrast

On white

18.33
#050E41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#050E41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050E41
18.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050E41#FFFFFF#000000##FFFFFF
##050E411.0018.331.1518.33
#FFFFFF18.331.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001843
Deuteranopia (green-blind)
#001240
Tritanopia (blue-blind)
#001C26
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #050e41;
/* rgb */ color: rgb(5, 14, 65);
/* oklch */ color: oklch(20.1% 0.096 267.2);
Tailwind
colors: {
  custom: {
    50: '#524c76',
    500: '#050e41',
    950: '#000000',
  },
}
SCSS
$custom: #050e41;
$custom-light: #524c76;
$custom-dark: #000000;
JSON
{
  "hex": "#050e41",
  "rgb": {
    "r": 5,
    "g": 14,
    "b": 65
  },
  "hsl": {
    "h": 231,
    "s": 85.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.20127,
    "c": 0.09643,
    "h": 267.2
  },
  "luminance": 0.00728
}

Semantic roles & 50–950 ramp

primary
#050E41
secondary
#817320
accent
#DD2CFC
background
#F5F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #050E41

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

Preview Lab → · Contrast checker → · Palette generator →

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