#050B2C#050B2C

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

Color values

HEX#050B2C
RGBrgb(5, 11, 44)
HSLhsl(231, 80%, 10%)
HSVhsv(231, 89%, 17%)
CMYKcmyk(88.6%, 75%, 0%, 82.7%)
CIE-LABlab(4.10, 8.43, -21.71)
CIE-LCHlch(4.10, 23.29, 291.22°)
OKLaboklab(17% -0.0014 -0.0672)
OKLCHoklch(17% 0.067 268.8)
XYZxyz(0.6367, 0.4534, 2.4363)
Luminance0.0045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050B2C #2C2605
analogous
#051F2C #050B2C #13052C
triadic
#050B2C #2C050B #0B2C05
tetradic
#050B2C #2C051F #2C2605 #052C13
square
#050B2C #2C051F #2C2605 #052C13
split-complementary
#050B2C #2C1305 #1F2C05
monochromatic
#03071B #03071B #050B2C #0B1963 #11269A

Accessibility & contrast

On white

19.26
#050B2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050B2C
19.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050B2C#FFFFFF#000000##FFFFFF
##050B2C1.0019.261.0919.26
#FFFFFF19.261.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #050b2c;
/* rgb */ color: rgb(5, 11, 44);
/* oklch */ color: oklch(17.0% 0.067 268.8);
Tailwind
colors: {
  custom: {
    50: '#4a4b65',
    500: '#050b2c',
    950: '#000000',
  },
}
SCSS
$custom: #050b2c;
$custom-light: #4a4b65;
$custom-dark: #000000;
JSON
{
  "hex": "#050b2c",
  "rgb": {
    "r": 5,
    "g": 11,
    "b": 44
  },
  "hsl": {
    "h": 230.769,
    "s": 79.592,
    "l": 9.608
  },
  "oklch": {
    "l": 0.16996,
    "c": 0.0672,
    "h": 268.8
  },
  "luminance": 0.00453
}

Semantic roles & 50–950 ramp

primary
#050B2C
secondary
#6E621F
accent
#D832F6
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010105
muted
#77777A

Preview Lab

Preview with #050B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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