#050A2B#050A2B

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

Color values

HEX#050A2B
RGBrgb(5, 10, 43)
HSLhsl(232, 79%, 9%)
HSVhsv(232, 88%, 17%)
CMYKcmyk(88.4%, 76.7%, 0%, 83.1%)
CIE-LABlab(3.83, 8.37, -21.38)
CIE-LCHlch(3.83, 22.96, 291.38°)
OKLaboklab(16.65% -0.0005 -0.067)
OKLCHoklch(16.65% 0.067 269.5)
XYZxyz(0.6070, 0.4237, 2.3348)
Luminance0.0042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050A2B #2B2605
analogous
#051D2B #050A2B #13052B
triadic
#050A2B #2B050A #0A2B05
tetradic
#050A2B #2B051D #2B2605 #052B13
square
#050A2B #2B051D #2B2605 #052B13
split-complementary
#050A2B #2B1305 #1D2B05
monochromatic
#03061B #03061B #050A2B #0B1762 #122499

Accessibility & contrast

On white

19.36
#050A2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050A2B
19.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050A2B#FFFFFF#000000##FFFFFF
##050A2B1.0019.361.0819.36
#FFFFFF19.361.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2C
Deuteranopia (green-blind)
#000C2A
Tritanopia (blue-blind)
#001219
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #050a2b;
/* rgb */ color: rgb(5, 10, 43);
/* oklch */ color: oklch(16.6% 0.067 269.5);
Tailwind
colors: {
  custom: {
    50: '#4a4b64',
    500: '#050a2b',
    950: '#000000',
  },
}
SCSS
$custom: #050a2b;
$custom-light: #4a4b64;
$custom-dark: #000000;
JSON
{
  "hex": "#050a2b",
  "rgb": {
    "r": 5,
    "g": 10,
    "b": 43
  },
  "hsl": {
    "h": 232.105,
    "s": 79.167,
    "l": 9.412
  },
  "oklch": {
    "l": 0.16646,
    "c": 0.06703,
    "h": 269.5
  },
  "luminance": 0.00424
}

Semantic roles & 50–950 ramp

primary
#050A2B
secondary
#6D621F
accent
#DC32F6
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010105
muted
#77777A

Preview Lab

Preview with #050A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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