#050C2B#050C2B

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

Color values

HEX#050C2B
RGBrgb(5, 12, 43)
HSLhsl(229, 79%, 9%)
HSVhsv(229, 88%, 17%)
CMYKcmyk(88.4%, 72.1%, 0%, 83.1%)
CIE-LABlab(4.24, 7.52, -20.73)
CIE-LCHlch(4.24, 22.05, 289.95°)
OKLaboklab(17.13% -0.0024 -0.0639)
OKLCHoklch(17.13% 0.064 267.9)
XYZxyz(0.6300, 0.4696, 2.3425)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050C2B #2B2405
analogous
#051F2B #050C2B #11052B
triadic
#050C2B #2B050C #0C2B05
tetradic
#050C2B #2B051F #2B2405 #052B11
square
#050C2B #2B051F #2B2405 #052B11
split-complementary
#050C2B #2B1105 #1F2B05
monochromatic
#03081B #03081B #050C2B #0B1B62 #122B99

Accessibility & contrast

On white

19.20
#050C2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#050C2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050C2B
19.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050C2B#FFFFFF#000000##FFFFFF
##050C2B1.0019.201.0919.20
#FFFFFF19.201.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112C
Deuteranopia (green-blind)
#000D2A
Tritanopia (blue-blind)
#001419
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #050c2b;
/* rgb */ color: rgb(5, 12, 43);
/* oklch */ color: oklch(17.1% 0.064 267.9);
Tailwind
colors: {
  custom: {
    50: '#4a4c64',
    500: '#050c2b',
    950: '#000000',
  },
}
SCSS
$custom: #050c2b;
$custom-light: #4a4c64;
$custom-dark: #000000;
JSON
{
  "hex": "#050c2b",
  "rgb": {
    "r": 5,
    "g": 12,
    "b": 43
  },
  "hsl": {
    "h": 228.947,
    "s": 79.167,
    "l": 9.412
  },
  "oklch": {
    "l": 0.17132,
    "c": 0.06391,
    "h": 267.9
  },
  "luminance": 0.0047
}

Semantic roles & 50–950 ramp

primary
#050C2B
secondary
#6D5E1F
accent
#D232F6
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010105
muted
#77777A

Preview Lab

Preview with #050C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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