#050B3C#050B3C

#050B3C is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.9% C 0.093 H 268.3°. Best body text is #FFFFFF at 18.76:1 contrast (WCAG AA passes).

Color values

HEX#050B3C
RGBrgb(5, 11, 60)
HSLhsl(233, 85%, 13%)
HSVhsv(233, 92%, 24%)
CMYKcmyk(91.7%, 81.7%, 0%, 76.5%)
CIE-LABlab(5.40, 17.24, -31.41)
CIE-LCHlch(5.40, 35.83, 298.76°)
OKLaboklab(18.91% -0.0027 -0.0927)
OKLCHoklch(18.91% 0.093 268.3)
XYZxyz(0.9976, 0.5977, 4.3369)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050B3C #3C3605
analogous
#05263C #050B3C #1B053C
triadic
#050B3C #3C050B #0B3C05
tetradic
#050B3C #3C0526 #3C3605 #053C1B
square
#050B3C #3C0526 #3C3605 #053C1B
split-complementary
#050B3C #3C1B05 #263C05
monochromatic
#02051C #02051C #050B3C #0A1574 #0E20AD

Accessibility & contrast

On white

18.76
#050B3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050B3C
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050B3C#FFFFFF#000000##FFFFFF
##050B3C1.0018.761.1218.76
#FFFFFF18.761.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153D
Deuteranopia (green-blind)
#000F3B
Tritanopia (blue-blind)
#001922
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #050b3c;
/* rgb */ color: rgb(5, 11, 60);
/* oklch */ color: oklch(18.9% 0.093 268.3);
Tailwind
colors: {
  custom: {
    50: '#504b72',
    500: '#050b3c',
    950: '#000000',
  },
}
SCSS
$custom: #050b3c;
$custom-light: #504b72;
$custom-dark: #000000;
JSON
{
  "hex": "#050b3c",
  "rgb": {
    "r": 5,
    "g": 11,
    "b": 60
  },
  "hsl": {
    "h": 233.455,
    "s": 84.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.18912,
    "c": 0.09278,
    "h": 268.3
  },
  "luminance": 0.00598
}

Semantic roles & 50–950 ramp

primary
#050B3C
secondary
#7D7320
accent
#E42DFB
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020108
muted
#78777B

Preview Lab

Preview with #050B3C

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

Preview Lab → · Contrast checker → · Palette generator →

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