#050A3A#050A3A

#050A3A is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.5% C 0.091 H 268.8°. Best body text is #FFFFFF at 18.90:1 contrast (WCAG AA passes).

Color values

HEX#050A3A
RGBrgb(5, 10, 58)
HSLhsl(234, 84%, 12%)
HSVhsv(234, 91%, 23%)
CMYKcmyk(91.4%, 82.8%, 0%, 77.3%)
CIE-LABlab(5.01, 16.56, -30.59)
CIE-LCHlch(5.01, 34.78, 298.42°)
OKLaboklab(18.47% -0.0019 -0.091)
OKLCHoklch(18.47% 0.091 268.8)
XYZxyz(0.9346, 0.5547, 4.0600)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050A3A #3A3505
analogous
#05243A #050A3A #1B053A
triadic
#050A3A #3A050A #0A3A05
tetradic
#050A3A #3A0524 #3A3505 #053A1B
square
#050A3A #3A0524 #3A3505 #053A1B
split-complementary
#050A3A #3A1B05 #243A05
monochromatic
#02051C #02051C #050A3A #0A1472 #0F1DAB

Accessibility & contrast

On white

18.90
#050A3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050A3A
18.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050A3A#FFFFFF#000000##FFFFFF
##050A3A1.0018.901.1118.90
#FFFFFF18.901.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143B
Deuteranopia (green-blind)
#000E39
Tritanopia (blue-blind)
#001821
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #050a3a;
/* rgb */ color: rgb(5, 10, 58);
/* oklch */ color: oklch(18.5% 0.091 268.8);
Tailwind
colors: {
  custom: {
    50: '#4f4a71',
    500: '#050a3a',
    950: '#000000',
  },
}
SCSS
$custom: #050a3a;
$custom-light: #4f4a71;
$custom-dark: #000000;
JSON
{
  "hex": "#050a3a",
  "rgb": {
    "r": 5,
    "g": 10,
    "b": 58
  },
  "hsl": {
    "h": 234.34,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.18465,
    "c": 0.09103,
    "h": 268.8
  },
  "luminance": 0.00555
}

Semantic roles & 50–950 ramp

primary
#050A3A
secondary
#7B7220
accent
#E72DFA
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #050A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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