#050B2B#050B2B

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

Color values

HEX#050B2B
RGBrgb(5, 11, 43)
HSLhsl(231, 79%, 9%)
HSVhsv(231, 88%, 17%)
CMYKcmyk(88.4%, 74.4%, 0%, 83.1%)
CIE-LABlab(4.03, 7.96, -21.06)
CIE-LCHlch(4.03, 22.51, 290.70°)
OKLaboklab(16.89% -0.0014 -0.0655)
OKLCHoklch(16.89% 0.065 268.7)
XYZxyz(0.6182, 0.4460, 2.3385)
Luminance0.0045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050B2B #2B2505
analogous
#051E2B #050B2B #12052B
triadic
#050B2B #2B050B #0B2B05
tetradic
#050B2B #2B051E #2B2505 #052B12
square
#050B2B #2B051E #2B2505 #052B12
split-complementary
#050B2B #2B1205 #1E2B05
monochromatic
#03071B #03071B #050B2B #0B1962 #122799

Accessibility & contrast

On white

19.28
#050B2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#050B2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050B2B
19.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050B2B#FFFFFF#000000##FFFFFF
##050B2B1.0019.281.0919.28
#FFFFFF19.281.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102C
Deuteranopia (green-blind)
#000C2A
Tritanopia (blue-blind)
#001319
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #050b2b;
/* rgb */ color: rgb(5, 11, 43);
/* oklch */ color: oklch(16.9% 0.065 268.7);
Tailwind
colors: {
  custom: {
    50: '#4a4b64',
    500: '#050b2b',
    950: '#000000',
  },
}
SCSS
$custom: #050b2b;
$custom-light: #4a4b64;
$custom-dark: #000000;
JSON
{
  "hex": "#050b2b",
  "rgb": {
    "r": 5,
    "g": 11,
    "b": 43
  },
  "hsl": {
    "h": 230.526,
    "s": 79.167,
    "l": 9.412
  },
  "oklch": {
    "l": 0.16885,
    "c": 0.06549,
    "h": 268.7
  },
  "luminance": 0.00446
}

Semantic roles & 50–950 ramp

primary
#050B2B
secondary
#6D601F
accent
#D732F6
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010105
muted
#77777A

Preview Lab

Preview with #050B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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