#050B2A#050B2A

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

Color values

HEX#050B2A
RGBrgb(5, 11, 42)
HSLhsl(230, 79%, 9%)
HSVhsv(230, 88%, 16%)
CMYKcmyk(88.1%, 73.8%, 0%, 83.5%)
CIE-LABlab(3.96, 7.50, -20.41)
CIE-LCHlch(3.96, 21.74, 290.17°)
OKLaboklab(16.78% -0.0014 -0.0637)
OKLCHoklch(16.78% 0.064 268.7)
XYZxyz(0.6000, 0.4387, 2.2431)
Luminance0.0044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050B2A #2A2405
analogous
#051E2A #050B2A #12052A
triadic
#050B2A #2A050B #0B2A05
tetradic
#050B2A #2A051E #2A2405 #052A12
square
#050B2A #2A051E #2A2405 #052A12
split-complementary
#050B2A #2A1205 #1E2A05
monochromatic
#03071B #03071B #050B2A #0C1961 #122897

Accessibility & contrast

On white

19.31
#050B2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050B2A
19.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050B2A#FFFFFF#000000##FFFFFF
##050B2A1.0019.311.0919.31
#FFFFFF19.311.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102B
Deuteranopia (green-blind)
#000C29
Tritanopia (blue-blind)
#001318
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #050b2a;
/* rgb */ color: rgb(5, 11, 42);
/* oklch */ color: oklch(16.8% 0.064 268.7);
Tailwind
colors: {
  custom: {
    50: '#4a4b63',
    500: '#050b2a',
    950: '#000000',
  },
}
SCSS
$custom: #050b2a;
$custom-light: #4a4b63;
$custom-dark: #000000;
JSON
{
  "hex": "#050b2a",
  "rgb": {
    "r": 5,
    "g": 11,
    "b": 42
  },
  "hsl": {
    "h": 230.27,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.16775,
    "c": 0.06376,
    "h": 268.7
  },
  "luminance": 0.00439
}

Semantic roles & 50–950 ramp

primary
#050B2A
secondary
#6C5F1F
accent
#D633F5
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010105
muted
#777779

Preview Lab

Preview with #050B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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