#050C3B#050C3B

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

Color values

HEX#050C3B
RGBrgb(5, 12, 59)
HSLhsl(232, 84%, 13%)
HSVhsv(232, 92%, 23%)
CMYKcmyk(91.5%, 79.7%, 0%, 76.9%)
CIE-LABlab(5.52, 16.19, -30.49)
CIE-LCHlch(5.52, 34.52, 297.97°)
OKLaboklab(18.99% -0.0031 -0.0899)
OKLCHoklch(18.99% 0.09 268)
XYZxyz(0.9832, 0.6109, 4.2029)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050C3B #3B3405
analogous
#05273B #050C3B #19053B
triadic
#050C3B #3B050C #0C3B05
tetradic
#050C3B #3B0527 #3B3405 #053B19
square
#050C3B #3B0527 #3B3405 #053B19
split-complementary
#050C3B #3B1905 #273B05
monochromatic
#02061C #02061C #050C3B #0A1773 #0F23AC

Accessibility & contrast

On white

18.71
#050C3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050C3B
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050C3B#FFFFFF#000000##FFFFFF
##050C3B1.0018.711.1218.71
#FFFFFF18.711.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #050c3b;
/* rgb */ color: rgb(5, 12, 59);
/* oklch */ color: oklch(19.0% 0.090 268.0);
Tailwind
colors: {
  custom: {
    50: '#504b71',
    500: '#050c3b',
    950: '#000000',
  },
}
SCSS
$custom: #050c3b;
$custom-light: #504b71;
$custom-dark: #000000;
JSON
{
  "hex": "#050c3b",
  "rgb": {
    "r": 5,
    "g": 12,
    "b": 59
  },
  "hsl": {
    "h": 232.222,
    "s": 84.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.18986,
    "c": 0.08995,
    "h": 268
  },
  "luminance": 0.00611
}

Semantic roles & 50–950 ramp

primary
#050C3B
secondary
#7C7020
accent
#E02DFB
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020108
muted
#78777B

Preview Lab

Preview with #050C3B

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

Preview Lab → · Contrast checker → · Palette generator →

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