#050D2A#050D2A

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

Color values

HEX#050D2A
RGBrgb(5, 13, 42)
HSLhsl(227, 79%, 9%)
HSVhsv(227, 88%, 16%)
CMYKcmyk(88.1%, 69%, 0%, 83.5%)
CIE-LABlab(4.40, 6.60, -19.72)
CIE-LCHlch(4.40, 20.80, 288.52°)
OKLaboklab(17.28% -0.0034 -0.0605)
OKLCHoklch(17.28% 0.061 266.8)
XYZxyz(0.6243, 0.4872, 2.2512)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050D2A #2A2205
analogous
#05202A #050D2A #10052A
triadic
#050D2A #2A050D #0D2A05
tetradic
#050D2A #2A0520 #2A2205 #052A10
square
#050D2A #2A0520 #2A2205 #052A10
split-complementary
#050D2A #2A1005 #202A05
monochromatic
#03081B #03081B #050D2A #0C1E61 #122F97

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##050D2A#FFFFFF#000000##FFFFFF
##050D2A1.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)
#00112B
Deuteranopia (green-blind)
#000E29
Tritanopia (blue-blind)
#001419
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #050d2a;
/* rgb */ color: rgb(5, 13, 42);
/* oklch */ color: oklch(17.3% 0.061 266.8);
Tailwind
colors: {
  custom: {
    50: '#4a4c63',
    500: '#050d2a',
    950: '#000000',
  },
}
SCSS
$custom: #050d2a;
$custom-light: #4a4c63;
$custom-dark: #000000;
JSON
{
  "hex": "#050d2a",
  "rgb": {
    "r": 5,
    "g": 13,
    "b": 42
  },
  "hsl": {
    "h": 227.027,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.17281,
    "c": 0.06057,
    "h": 266.8
  },
  "luminance": 0.00487
}

Semantic roles & 50–950 ramp

primary
#050D2A
secondary
#6C5B1F
accent
#CB33F5
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010105
muted
#777779

Preview Lab

Preview with #050D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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