#050D2D#050D2D

#050D2D is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.6% C 0.066 H 267.2°. Best body text is #FFFFFF at 19.06:1 contrast (WCAG AA passes).

Color values

HEX#050D2D
RGBrgb(5, 13, 45)
HSLhsl(228, 80%, 10%)
HSVhsv(228, 89%, 18%)
CMYKcmyk(88.9%, 71.1%, 0%, 82.4%)
CIE-LABlab(4.60, 8.02, -21.66)
CIE-LCHlch(4.60, 23.10, 290.31°)
OKLaboklab(17.6% -0.0032 -0.0657)
OKLCHoklch(17.6% 0.066 267.2)
XYZxyz(0.6800, 0.5095, 2.5446)
Luminance0.0051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050D2D #2D2505
analogous
#05212D #050D2D #11052D
triadic
#050D2D #2D050D #0D2D05
tetradic
#050D2D #2D0521 #2D2505 #052D11
square
#050D2D #2D0521 #2D2505 #052D11
split-complementary
#050D2D #2D1105 #212D05
monochromatic
#03081C #03081C #050D2D #0B1D64 #112D9B

Accessibility & contrast

On white

19.06
#050D2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050D2D
19.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050D2D#FFFFFF#000000##FFFFFF
##050D2D1.0019.061.1019.06
#FFFFFF19.061.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122E
Deuteranopia (green-blind)
#000E2C
Tritanopia (blue-blind)
#00151B
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #050d2d;
/* rgb */ color: rgb(5, 13, 45);
/* oklch */ color: oklch(17.6% 0.066 267.2);
Tailwind
colors: {
  custom: {
    50: '#4a4c66',
    500: '#050d2d',
    950: '#000000',
  },
}
SCSS
$custom: #050d2d;
$custom-light: #4a4c66;
$custom-dark: #000000;
JSON
{
  "hex": "#050d2d",
  "rgb": {
    "r": 5,
    "g": 13,
    "b": 45
  },
  "hsl": {
    "h": 228,
    "s": 80,
    "l": 9.804
  },
  "oklch": {
    "l": 0.17595,
    "c": 0.06578,
    "h": 267.2
  },
  "luminance": 0.0051
}

Semantic roles & 50–950 ramp

primary
#050D2D
secondary
#6F5F1F
accent
#CF31F6
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #050D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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