#050D3C#050D3C

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

Color values

HEX#050D3C
RGBrgb(5, 13, 60)
HSLhsl(231, 85%, 13%)
HSVhsv(231, 92%, 24%)
CMYKcmyk(91.7%, 78.3%, 0%, 76.5%)
CIE-LABlab(5.84, 16.23, -30.69)
CIE-LCHlch(5.84, 34.72, 297.86°)
OKLaboklab(19.31% -0.0037 -0.0901)
OKLCHoklch(19.31% 0.09 267.6)
XYZxyz(1.0218, 0.6462, 4.3450)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050D3C #3C3405
analogous
#05283C #050D3C #19053C
triadic
#050D3C #3C050D #0D3C05
tetradic
#050D3C #3C0528 #3C3405 #053C19
square
#050D3C #3C0528 #3C3405 #053C19
split-complementary
#050D3C #3C1905 #283C05
monochromatic
#02061C #02061C #050D3C #0A1974 #0E25AD

Accessibility & contrast

On white

18.60
#050D3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050D3C
18.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050D3C#FFFFFF#000000##FFFFFF
##050D3C1.0018.601.1318.60
#FFFFFF18.601.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163D
Deuteranopia (green-blind)
#00103B
Tritanopia (blue-blind)
#001A23
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #050d3c;
/* rgb */ color: rgb(5, 13, 60);
/* oklch */ color: oklch(19.3% 0.090 267.6);
Tailwind
colors: {
  custom: {
    50: '#504c72',
    500: '#050d3c',
    950: '#000000',
  },
}
SCSS
$custom: #050d3c;
$custom-light: #504c72;
$custom-dark: #000000;
JSON
{
  "hex": "#050d3c",
  "rgb": {
    "r": 5,
    "g": 13,
    "b": 60
  },
  "hsl": {
    "h": 231.273,
    "s": 84.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.19314,
    "c": 0.09016,
    "h": 267.6
  },
  "luminance": 0.00646
}

Semantic roles & 50–950 ramp

primary
#050D3C
secondary
#7D6F20
accent
#DD2DFB
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020108
muted
#78777B

Preview Lab

Preview with #050D3C

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

Preview Lab → · Contrast checker → · Palette generator →

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