#050A31#050A31

#050A31 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.3% C 0.077 H 269.3°. Best body text is #FFFFFF at 19.19:1 contrast (WCAG AA passes).

Color values

HEX#050A31
RGBrgb(5, 10, 49)
HSLhsl(233, 81%, 11%)
HSVhsv(233, 90%, 19%)
CMYKcmyk(89.8%, 79.6%, 0%, 80.8%)
CIE-LABlab(4.25, 11.37, -25.20)
CIE-LCHlch(4.25, 27.65, 294.29°)
OKLaboklab(17.35% -0.0009 -0.077)
OKLCHoklch(17.35% 0.077 269.3)
XYZxyz(0.7253, 0.4710, 2.9578)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050A31 #312C05
analogous
#052031 #050A31 #160531
triadic
#050A31 #31050A #0A3105
tetradic
#050A31 #310520 #312C05 #053116
square
#050A31 #310520 #312C05 #053116
split-complementary
#050A31 #311605 #203105
monochromatic
#03061C #03061C #050A31 #0B1569 #1021A0

Accessibility & contrast

On white

19.19
#050A31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#050A31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050A31
19.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050A31#FFFFFF#000000##FFFFFF
##050A311.0019.191.0919.19
#FFFFFF19.191.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001132
Deuteranopia (green-blind)
#000D30
Tritanopia (blue-blind)
#00141C
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #050a31;
/* rgb */ color: rgb(5, 10, 49);
/* oklch */ color: oklch(17.3% 0.077 269.3);
Tailwind
colors: {
  custom: {
    50: '#4b4b69',
    500: '#050a31',
    950: '#000000',
  },
}
SCSS
$custom: #050a31;
$custom-light: #4b4b69;
$custom-dark: #000000;
JSON
{
  "hex": "#050a31",
  "rgb": {
    "r": 5,
    "g": 10,
    "b": 49
  },
  "hsl": {
    "h": 233.182,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.17348,
    "c": 0.07698,
    "h": 269.3
  },
  "luminance": 0.00471
}

Semantic roles & 50–950 ramp

primary
#050A31
secondary
#72691F
accent
#E130F8
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #050A31

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

Preview Lab → · Contrast checker → · Palette generator →

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