#050B3A#050B3A

#050B3A is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.7% C 0.090 H 268.4°. Best body text is #FFFFFF at 18.83:1 contrast (WCAG AA passes).

Color values

HEX#050B3A
RGBrgb(5, 11, 58)
HSLhsl(233, 84%, 12%)
HSVhsv(233, 91%, 23%)
CMYKcmyk(91.4%, 81%, 0%, 77.3%)
CIE-LABlab(5.21, 16.11, -30.26)
CIE-LCHlch(5.21, 34.29, 298.03°)
OKLaboklab(18.66% -0.0024 -0.0897)
OKLCHoklch(18.66% 0.09 268.4)
XYZxyz(0.9457, 0.5770, 4.0637)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050B3A #3A3405
analogous
#05253A #050B3A #1A053A
triadic
#050B3A #3A050B #0B3A05
tetradic
#050B3A #3A0525 #3A3405 #053A1A
square
#050B3A #3A0525 #3A3405 #053A1A
split-complementary
#050B3A #3A1A05 #253A05
monochromatic
#02051C #02051C #050B3A #0A1672 #0F20AB

Accessibility & contrast

On white

18.83
#050B3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#050B3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050B3A
18.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050B3A#FFFFFF#000000##FFFFFF
##050B3A1.0018.831.1218.83
#FFFFFF18.831.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #050b3a;
/* rgb */ color: rgb(5, 11, 58);
/* oklch */ color: oklch(18.7% 0.090 268.4);
Tailwind
colors: {
  custom: {
    50: '#4f4b71',
    500: '#050b3a',
    950: '#000000',
  },
}
SCSS
$custom: #050b3a;
$custom-light: #4f4b71;
$custom-dark: #000000;
JSON
{
  "hex": "#050b3a",
  "rgb": {
    "r": 5,
    "g": 11,
    "b": 58
  },
  "hsl": {
    "h": 233.208,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.18661,
    "c": 0.08974,
    "h": 268.4
  },
  "luminance": 0.00577
}

Semantic roles & 50–950 ramp

primary
#050B3A
secondary
#7B7120
accent
#E32DFA
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #050B3A

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

Preview Lab → · Contrast checker → · Palette generator →

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