#050D3B#050D3B

#050D3B is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.2% C 0.089 H 267.7°. Best body text is #FFFFFF at 18.63:1 contrast (WCAG AA passes).

Color values

HEX#050D3B
RGBrgb(5, 13, 59)
HSLhsl(231, 84%, 13%)
HSVhsv(231, 92%, 23%)
CMYKcmyk(91.5%, 78%, 0%, 76.9%)
CIE-LABlab(5.74, 15.68, -30.13)
CIE-LCHlch(5.74, 33.96, 297.50°)
OKLaboklab(19.19% -0.0036 -0.0885)
OKLCHoklch(19.19% 0.089 267.7)
XYZxyz(0.9957, 0.6358, 4.2071)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050D3B #3B3305
analogous
#05283B #050D3B #18053B
triadic
#050D3B #3B050D #0D3B05
tetradic
#050D3B #3B0528 #3B3305 #053B18
square
#050D3B #3B0528 #3B3305 #053B18
split-complementary
#050D3B #3B1805 #283B05
monochromatic
#02061C #02061C #050D3B #0A1973 #0F26AC

Accessibility & contrast

On white

18.63
#050D3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050D3B
18.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050D3B#FFFFFF#000000##FFFFFF
##050D3B1.0018.631.1318.63
#FFFFFF18.631.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153C
Deuteranopia (green-blind)
#00103A
Tritanopia (blue-blind)
#001A22
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #050d3b;
/* rgb */ color: rgb(5, 13, 59);
/* oklch */ color: oklch(19.2% 0.089 267.7);
Tailwind
colors: {
  custom: {
    50: '#504c71',
    500: '#050d3b',
    950: '#000000',
  },
}
SCSS
$custom: #050d3b;
$custom-light: #504c71;
$custom-dark: #000000;
JSON
{
  "hex": "#050d3b",
  "rgb": {
    "r": 5,
    "g": 13,
    "b": 59
  },
  "hsl": {
    "h": 231.111,
    "s": 84.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.19193,
    "c": 0.08861,
    "h": 267.7
  },
  "luminance": 0.00636
}

Semantic roles & 50–950 ramp

primary
#050D3B
secondary
#7C6E20
accent
#DC2DFB
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020108
muted
#78777B

Preview Lab

Preview with #050D3B

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

Preview Lab → · Contrast checker → · Palette generator →

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