#050D36#050D36

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

Color values

HEX#050D36
RGBrgb(5, 13, 54)
HSLhsl(230, 83%, 12%)
HSVhsv(230, 91%, 21%)
CMYKcmyk(90.7%, 75.9%, 0%, 78.8%)
CIE-LABlab(5.30, 12.88, -27.21)
CIE-LCHlch(5.30, 30.11, 295.33°)
OKLaboklab(18.6% -0.0033 -0.0807)
OKLCHoklch(18.6% 0.081 267.7)
XYZxyz(0.8721, 0.5864, 3.5565)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050D36 #362E05
analogous
#052636 #050D36 #160536
triadic
#050D36 #36050D #0D3605
tetradic
#050D36 #360526 #362E05 #053616
square
#050D36 #360526 #362E05 #053616
split-complementary
#050D36 #361605 #263605
monochromatic
#03071C #03071C #050D36 #0A1A6E #0F28A6

Accessibility & contrast

On white

18.80
#050D36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050D36
18.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050D36#FFFFFF#000000##FFFFFF
##050D361.0018.801.1218.80
#FFFFFF18.801.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001437
Deuteranopia (green-blind)
#000F35
Tritanopia (blue-blind)
#00181F
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #050d36;
/* rgb */ color: rgb(5, 13, 54);
/* oklch */ color: oklch(18.6% 0.081 267.7);
Tailwind
colors: {
  custom: {
    50: '#4e4c6d',
    500: '#050d36',
    950: '#000000',
  },
}
SCSS
$custom: #050d36;
$custom-light: #4e4c6d;
$custom-dark: #000000;
JSON
{
  "hex": "#050d36",
  "rgb": {
    "r": 5,
    "g": 13,
    "b": 54
  },
  "hsl": {
    "h": 230.204,
    "s": 83.051,
    "l": 11.569
  },
  "oklch": {
    "l": 0.186,
    "c": 0.08073,
    "h": 267.7
  },
  "luminance": 0.00586
}

Semantic roles & 50–950 ramp

primary
#050D36
secondary
#776920
accent
#D82EF9
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020107
muted
#78777A

Preview Lab

Preview with #050D36

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

Preview Lab → · Contrast checker → · Palette generator →

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