#050C3C#050C3C

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

Color values

HEX#050C3C
RGBrgb(5, 12, 60)
HSLhsl(232, 85%, 13%)
HSVhsv(232, 92%, 24%)
CMYKcmyk(91.7%, 80%, 0%, 76.5%)
CIE-LABlab(5.61, 16.75, -31.06)
CIE-LCHlch(5.61, 35.29, 298.33°)
OKLaboklab(19.11% -0.0032 -0.0914)
OKLCHoklch(19.11% 0.091 268)
XYZxyz(1.0094, 0.6213, 4.3408)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050C3C #3C3505
analogous
#05273C #050C3C #1A053C
triadic
#050C3C #3C050C #0C3C05
tetradic
#050C3C #3C0527 #3C3505 #053C1A
square
#050C3C #3C0527 #3C3505 #053C1A
split-complementary
#050C3C #3C1A05 #273C05
monochromatic
#02061C #02061C #050C3C #0A1774 #0E23AD

Accessibility & contrast

On white

18.68
#050C3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050C3C
18.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050C3C#FFFFFF#000000##FFFFFF
##050C3C1.0018.681.1218.68
#FFFFFF18.681.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #050c3c;
/* rgb */ color: rgb(5, 12, 60);
/* oklch */ color: oklch(19.1% 0.091 268.0);
Tailwind
colors: {
  custom: {
    50: '#504b72',
    500: '#050c3c',
    950: '#000000',
  },
}
SCSS
$custom: #050c3c;
$custom-light: #504b72;
$custom-dark: #000000;
JSON
{
  "hex": "#050c3c",
  "rgb": {
    "r": 5,
    "g": 12,
    "b": 60
  },
  "hsl": {
    "h": 232.364,
    "s": 84.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.1911,
    "c": 0.09149,
    "h": 268
  },
  "luminance": 0.00621
}

Semantic roles & 50–950 ramp

primary
#050C3C
secondary
#7D7120
accent
#E12DFB
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020108
muted
#78777B

Preview Lab

Preview with #050C3C

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

Preview Lab → · Contrast checker → · Palette generator →

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