#050B2E#050B2E

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

Color values

HEX#050B2E
RGBrgb(5, 11, 46)
HSLhsl(231, 80%, 10%)
HSVhsv(231, 89%, 18%)
CMYKcmyk(89.1%, 76.1%, 0%, 82%)
CIE-LABlab(4.23, 9.41, -22.99)
CIE-LCHlch(4.23, 24.84, 292.25°)
OKLaboklab(17.22% -0.0015 -0.0705)
OKLCHoklch(17.22% 0.071 268.8)
XYZxyz(0.6752, 0.4688, 2.6391)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050B2E #2E2805
analogous
#051F2E #050B2E #14052E
triadic
#050B2E #2E050B #0B2E05
tetradic
#050B2E #2E051F #2E2805 #052E14
square
#050B2E #2E051F #2E2805 #052E14
split-complementary
#050B2E #2E1405 #1F2E05
monochromatic
#03071C #03071C #050B2E #0B1865 #11259C

Accessibility & contrast

On white

19.20
#050B2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050B2E
19.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050B2E#FFFFFF#000000##FFFFFF
##050B2E1.0019.201.0919.20
#FFFFFF19.201.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #050b2e;
/* rgb */ color: rgb(5, 11, 46);
/* oklch */ color: oklch(17.2% 0.071 268.8);
Tailwind
colors: {
  custom: {
    50: '#4b4b67',
    500: '#050b2e',
    950: '#000000',
  },
}
SCSS
$custom: #050b2e;
$custom-light: #4b4b67;
$custom-dark: #000000;
JSON
{
  "hex": "#050b2e",
  "rgb": {
    "r": 5,
    "g": 11,
    "b": 46
  },
  "hsl": {
    "h": 231.22,
    "s": 80.392,
    "l": 10
  },
  "oklch": {
    "l": 0.17222,
    "c": 0.07057,
    "h": 268.8
  },
  "luminance": 0.00469
}

Semantic roles & 50–950 ramp

primary
#050B2E
secondary
#70641F
accent
#DA31F7
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #050B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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