#050A2A#050A2A

#050A2A is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.5% C 0.065 H 269.5°. Best body text is #FFFFFF at 19.38:1 contrast (WCAG AA passes).

Color values

HEX#050A2A
RGBrgb(5, 10, 42)
HSLhsl(232, 79%, 9%)
HSVhsv(232, 88%, 16%)
CMYKcmyk(88.1%, 76.2%, 0%, 83.5%)
CIE-LABlab(3.76, 7.91, -20.72)
CIE-LCHlch(3.76, 22.18, 290.88°)
OKLaboklab(16.53% -0.0005 -0.0653)
OKLCHoklch(16.53% 0.065 269.5)
XYZxyz(0.5889, 0.4165, 2.2394)
Luminance0.0042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050A2A #2A2505
analogous
#051D2A #050A2A #13052A
triadic
#050A2A #2A050A #0A2A05
tetradic
#050A2A #2A051D #2A2505 #052A13
square
#050A2A #2A051D #2A2505 #052A13
split-complementary
#050A2A #2A1305 #1D2A05
monochromatic
#03071B #03071B #050A2A #0C1761 #122497

Accessibility & contrast

On white

19.38
#050A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#050A2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050A2A
19.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050A2A#FFFFFF#000000##FFFFFF
##050A2A1.0019.381.0819.38
#FFFFFF19.381.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2B
Deuteranopia (green-blind)
#000C29
Tritanopia (blue-blind)
#001218
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #050a2a;
/* rgb */ color: rgb(5, 10, 42);
/* oklch */ color: oklch(16.5% 0.065 269.5);
Tailwind
colors: {
  custom: {
    50: '#4a4b63',
    500: '#050a2a',
    950: '#000000',
  },
}
SCSS
$custom: #050a2a;
$custom-light: #4a4b63;
$custom-dark: #000000;
JSON
{
  "hex": "#050a2a",
  "rgb": {
    "r": 5,
    "g": 10,
    "b": 42
  },
  "hsl": {
    "h": 231.892,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.16533,
    "c": 0.06532,
    "h": 269.5
  },
  "luminance": 0.00417
}

Semantic roles & 50–950 ramp

primary
#050A2A
secondary
#6C611F
accent
#DB33F5
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010105
muted
#777779

Preview Lab

Preview with #050A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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