#050C2D#050C2D

#050C2D is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.3% C 0.067 H 268.0°. Best body text is #FFFFFF at 19.14:1 contrast (WCAG AA passes).

Color values

HEX#050C2D
RGBrgb(5, 12, 45)
HSLhsl(230, 80%, 10%)
HSVhsv(230, 89%, 18%)
CMYKcmyk(88.9%, 73.3%, 0%, 82.4%)
CIE-LABlab(4.38, 8.48, -22.02)
CIE-LCHlch(4.38, 23.59, 291.05°)
OKLaboklab(17.35% -0.0023 -0.0673)
OKLCHoklch(17.35% 0.067 268)
XYZxyz(0.6675, 0.4846, 2.5405)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050C2D #2D2605
analogous
#05202D #050C2D #12052D
triadic
#050C2D #2D050C #0C2D05
tetradic
#050C2D #2D0520 #2D2605 #052D12
square
#050C2D #2D0520 #2D2605 #052D12
split-complementary
#050C2D #2D1205 #202D05
monochromatic
#03071C #03071C #050C2D #0B1B64 #11299B

Accessibility & contrast

On white

19.14
#050C2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050C2D
19.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050C2D#FFFFFF#000000##FFFFFF
##050C2D1.0019.141.1019.14
#FFFFFF19.141.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112E
Deuteranopia (green-blind)
#000D2C
Tritanopia (blue-blind)
#00141A
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #050c2d;
/* rgb */ color: rgb(5, 12, 45);
/* oklch */ color: oklch(17.3% 0.067 268.0);
Tailwind
colors: {
  custom: {
    50: '#4a4c66',
    500: '#050c2d',
    950: '#000000',
  },
}
SCSS
$custom: #050c2d;
$custom-light: #4a4c66;
$custom-dark: #000000;
JSON
{
  "hex": "#050c2d",
  "rgb": {
    "r": 5,
    "g": 12,
    "b": 45
  },
  "hsl": {
    "h": 229.5,
    "s": 80,
    "l": 9.804
  },
  "oklch": {
    "l": 0.17349,
    "c": 0.06734,
    "h": 268
  },
  "luminance": 0.00485
}

Semantic roles & 50–950 ramp

primary
#050C2D
secondary
#6F611F
accent
#D431F6
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #050C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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