#050B2D#050B2D

#050B2D is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.1% C 0.069 H 268.8°. Best body text is #FFFFFF at 19.23:1 contrast (WCAG AA passes).

Color values

HEX#050B2D
RGBrgb(5, 11, 45)
HSLhsl(231, 80%, 10%)
HSVhsv(231, 89%, 18%)
CMYKcmyk(88.9%, 75.6%, 0%, 82.4%)
CIE-LABlab(4.16, 8.91, -22.35)
CIE-LCHlch(4.16, 24.06, 291.73°)
OKLaboklab(17.11% -0.0014 -0.0689)
OKLCHoklch(17.11% 0.069 268.8)
XYZxyz(0.6557, 0.4610, 2.5365)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050B2D #2D2705
analogous
#051F2D #050B2D #13052D
triadic
#050B2D #2D050B #0B2D05
tetradic
#050B2D #2D051F #2D2705 #052D13
square
#050B2D #2D051F #2D2705 #052D13
split-complementary
#050B2D #2D1305 #1F2D05
monochromatic
#03071C #03071C #050B2D #0B1864 #11269B

Accessibility & contrast

On white

19.23
#050B2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050B2D
19.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050B2D#FFFFFF#000000##FFFFFF
##050B2D1.0019.231.0919.23
#FFFFFF19.231.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112E
Deuteranopia (green-blind)
#000D2C
Tritanopia (blue-blind)
#00141A
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #050b2d;
/* rgb */ color: rgb(5, 11, 45);
/* oklch */ color: oklch(17.1% 0.069 268.8);
Tailwind
colors: {
  custom: {
    50: '#4a4b66',
    500: '#050b2d',
    950: '#000000',
  },
}
SCSS
$custom: #050b2d;
$custom-light: #4a4b66;
$custom-dark: #000000;
JSON
{
  "hex": "#050b2d",
  "rgb": {
    "r": 5,
    "g": 11,
    "b": 45
  },
  "hsl": {
    "h": 231,
    "s": 80,
    "l": 9.804
  },
  "oklch": {
    "l": 0.17108,
    "c": 0.06889,
    "h": 268.8
  },
  "luminance": 0.00461
}

Semantic roles & 50–950 ramp

primary
#050B2D
secondary
#6F631F
accent
#D931F6
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #050B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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