#050A39#050A39

#050A39 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.3% C 0.090 H 268.8°. Best body text is #FFFFFF at 18.94:1 contrast (WCAG AA passes).

Color values

HEX#050A39
RGBrgb(5, 10, 57)
HSLhsl(234, 84%, 12%)
HSVhsv(234, 91%, 22%)
CMYKcmyk(91.2%, 82.5%, 0%, 77.6%)
CIE-LABlab(4.92, 15.98, -30.01)
CIE-LCHlch(4.92, 34.00, 298.03°)
OKLaboklab(18.34% -0.0018 -0.0895)
OKLCHoklch(18.34% 0.09 268.8)
XYZxyz(0.9094, 0.5446, 3.9273)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050A39 #393405
analogous
#052439 #050A39 #1A0539
triadic
#050A39 #39050A #0A3905
tetradic
#050A39 #390524 #393405 #05391A
square
#050A39 #390524 #393405 #05391A
split-complementary
#050A39 #391A05 #243905
monochromatic
#02051C #02051C #050A39 #0A1471 #0F1EAA

Accessibility & contrast

On white

18.94
#050A39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#050A39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050A39
18.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050A39#FFFFFF#000000##FFFFFF
##050A391.0018.941.1118.94
#FFFFFF18.941.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00133A
Deuteranopia (green-blind)
#000E38
Tritanopia (blue-blind)
#001720
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #050a39;
/* rgb */ color: rgb(5, 10, 57);
/* oklch */ color: oklch(18.3% 0.090 268.8);
Tailwind
colors: {
  custom: {
    50: '#4f4a70',
    500: '#050a39',
    950: '#000000',
  },
}
SCSS
$custom: #050a39;
$custom-light: #4f4a70;
$custom-dark: #000000;
JSON
{
  "hex": "#050a39",
  "rgb": {
    "r": 5,
    "g": 10,
    "b": 57
  },
  "hsl": {
    "h": 234.231,
    "s": 83.871,
    "l": 12.157
  },
  "oklch": {
    "l": 0.18338,
    "c": 0.08952,
    "h": 268.8
  },
  "luminance": 0.00545
}

Semantic roles & 50–950 ramp

primary
#050A39
secondary
#7A7120
accent
#E62EFA
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #050A39

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

Preview Lab → · Contrast checker → · Palette generator →

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