#050C41#050C41

#050C41 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.7% C 0.099 H 267.8°. Best body text is #FFFFFF at 18.50:1 contrast (WCAG AA passes).

Color values

HEX#050C41
RGBrgb(5, 12, 65)
HSLhsl(233, 86%, 14%)
HSVhsv(233, 92%, 25%)
CMYKcmyk(92.3%, 81.5%, 0%, 74.5%)
CIE-LABlab(6.11, 19.40, -33.83)
CIE-LCHlch(6.11, 39.00, 299.84°)
OKLaboklab(19.74% -0.0038 -0.0989)
OKLCHoklch(19.74% 0.099 267.8)
XYZxyz(1.1479, 0.6767, 5.0701)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050C41 #413A05
analogous
#052A41 #050C41 #1C0541
triadic
#050C41 #41050C #0C4105
tetradic
#050C41 #41052A #413A05 #05411C
square
#050C41 #41052A #413A05 #05411C
split-complementary
#050C41 #411C05 #2A4105
monochromatic
#02051C #02051C #050C41 #09167A #0E21B3

Accessibility & contrast

On white

18.50
#050C41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#050C41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050C41
18.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050C41#FFFFFF#000000##FFFFFF
##050C411.0018.501.1418.50
#FFFFFF18.501.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001743
Deuteranopia (green-blind)
#001140
Tritanopia (blue-blind)
#001B25
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #050c41;
/* rgb */ color: rgb(5, 12, 65);
/* oklch */ color: oklch(19.7% 0.099 267.8);
Tailwind
colors: {
  custom: {
    50: '#524b76',
    500: '#050c41',
    950: '#000000',
  },
}
SCSS
$custom: #050c41;
$custom-light: #524b76;
$custom-dark: #000000;
JSON
{
  "hex": "#050c41",
  "rgb": {
    "r": 5,
    "g": 12,
    "b": 65
  },
  "hsl": {
    "h": 233,
    "s": 85.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.19738,
    "c": 0.09897,
    "h": 267.8
  },
  "luminance": 0.00677
}

Semantic roles & 50–950 ramp

primary
#050C41
secondary
#817620
accent
#E42CFC
background
#F5F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #050C41

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

Preview Lab → · Contrast checker → · Palette generator →

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