#050D2C#050D2C

#050D2C is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.5% C 0.064 H 267.1°. Best body text is #FFFFFF at 19.08:1 contrast (WCAG AA passes).

Color values

HEX#050D2C
RGBrgb(5, 13, 44)
HSLhsl(228, 80%, 10%)
HSVhsv(228, 89%, 17%)
CMYKcmyk(88.6%, 70.5%, 0%, 82.7%)
CIE-LABlab(4.53, 7.54, -21.02)
CIE-LCHlch(4.53, 22.33, 289.73°)
OKLaboklab(17.49% -0.0033 -0.064)
OKLCHoklch(17.49% 0.064 267.1)
XYZxyz(0.6610, 0.5019, 2.4444)
Luminance0.0050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050D2C #2C2405
analogous
#05212C #050D2C #11052C
triadic
#050D2C #2C050D #0D2C05
tetradic
#050D2C #2C0521 #2C2405 #052C11
square
#050D2C #2C0521 #2C2405 #052C11
split-complementary
#050D2C #2C1105 #212C05
monochromatic
#03081B #03081B #050D2C #0B1D63 #112D9A

Accessibility & contrast

On white

19.08
#050D2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#050D2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050D2C
19.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050D2C#FFFFFF#000000##FFFFFF
##050D2C1.0019.081.1019.08
#FFFFFF19.081.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122D
Deuteranopia (green-blind)
#000E2B
Tritanopia (blue-blind)
#00151A
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #050d2c;
/* rgb */ color: rgb(5, 13, 44);
/* oklch */ color: oklch(17.5% 0.064 267.1);
Tailwind
colors: {
  custom: {
    50: '#4a4c65',
    500: '#050d2c',
    950: '#000000',
  },
}
SCSS
$custom: #050d2c;
$custom-light: #4a4c65;
$custom-dark: #000000;
JSON
{
  "hex": "#050d2c",
  "rgb": {
    "r": 5,
    "g": 13,
    "b": 44
  },
  "hsl": {
    "h": 227.692,
    "s": 79.592,
    "l": 9.608
  },
  "oklch": {
    "l": 0.17489,
    "c": 0.06406,
    "h": 267.1
  },
  "luminance": 0.00502
}

Semantic roles & 50–950 ramp

primary
#050D2C
secondary
#6E5E1F
accent
#CE32F6
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010105
muted
#77777A

Preview Lab

Preview with #050D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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