#050C3F#050C3F

#050C3F is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.5% C 0.096 H 267.9°. Best body text is #FFFFFF at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#050C3F
RGBrgb(5, 12, 63)
HSLhsl(233, 85%, 13%)
HSVhsv(233, 92%, 25%)
CMYKcmyk(92.1%, 81%, 0%, 75.3%)
CIE-LABlab(5.91, 18.36, -32.73)
CIE-LCHlch(5.91, 37.53, 299.29°)
OKLaboklab(19.49% -0.0035 -0.0959)
OKLCHoklch(19.49% 0.096 267.9)
XYZxyz(1.0910, 0.6540, 4.7704)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050C3F #3F3805
analogous
#05293F #050C3F #1B053F
triadic
#050C3F #3F050C #0C3F05
tetradic
#050C3F #3F0529 #3F3805 #053F1B
square
#050C3F #3F0529 #3F3805 #053F1B
split-complementary
#050C3F #3F1B05 #293F05
monochromatic
#02051C #02051C #050C3F #091778 #0E22B0

Accessibility & contrast

On white

18.57
#050C3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#050C3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050C3F
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050C3F#FFFFFF#000000##FFFFFF
##050C3F1.0018.571.1318.57
#FFFFFF18.571.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001641
Deuteranopia (green-blind)
#00103E
Tritanopia (blue-blind)
#001A24
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #050c3f;
/* rgb */ color: rgb(5, 12, 63);
/* oklch */ color: oklch(19.5% 0.096 267.9);
Tailwind
colors: {
  custom: {
    50: '#514b75',
    500: '#050c3f',
    950: '#000000',
  },
}
SCSS
$custom: #050c3f;
$custom-light: #514b75;
$custom-dark: #000000;
JSON
{
  "hex": "#050c3f",
  "rgb": {
    "r": 5,
    "g": 12,
    "b": 63
  },
  "hsl": {
    "h": 232.759,
    "s": 85.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.19485,
    "c": 0.096,
    "h": 267.9
  },
  "luminance": 0.00654
}

Semantic roles & 50–950 ramp

primary
#050C3F
secondary
#807420
accent
#E32CFC
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #050C3F

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

Preview Lab → · Contrast checker → · Palette generator →

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