#050B2F#050B2F

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

Color values

HEX#050B2F
RGBrgb(5, 11, 47)
HSLhsl(231, 81%, 10%)
HSVhsv(231, 89%, 18%)
CMYKcmyk(89.4%, 76.6%, 0%, 81.6%)
CIE-LABlab(4.31, 9.91, -23.63)
CIE-LCHlch(4.31, 25.62, 292.76°)
OKLaboklab(17.34% -0.0015 -0.0722)
OKLCHoklch(17.34% 0.072 268.8)
XYZxyz(0.6952, 0.4768, 2.7442)
Luminance0.0048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050B2F #2F2905
analogous
#05202F #050B2F #14052F
triadic
#050B2F #2F050B #0B2F05
tetradic
#050B2F #2F0520 #2F2905 #052F14
square
#050B2F #2F0520 #2F2905 #052F14
split-complementary
#050B2F #2F1405 #202F05
monochromatic
#03061C #03061C #050B2F #0B1866 #11259E

Accessibility & contrast

On white

19.17
#050B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#050B2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050B2F
19.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050B2F#FFFFFF#000000##FFFFFF
##050B2F1.0019.171.1019.17
#FFFFFF19.171.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001130
Deuteranopia (green-blind)
#000D2E
Tritanopia (blue-blind)
#00141B
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #050b2f;
/* rgb */ color: rgb(5, 11, 47);
/* oklch */ color: oklch(17.3% 0.072 268.8);
Tailwind
colors: {
  custom: {
    50: '#4b4b68',
    500: '#050b2f',
    950: '#000000',
  },
}
SCSS
$custom: #050b2f;
$custom-light: #4b4b68;
$custom-dark: #000000;
JSON
{
  "hex": "#050b2f",
  "rgb": {
    "r": 5,
    "g": 11,
    "b": 47
  },
  "hsl": {
    "h": 231.429,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.17336,
    "c": 0.07224,
    "h": 268.8
  },
  "luminance": 0.00477
}

Semantic roles & 50–950 ramp

primary
#050B2F
secondary
#71651F
accent
#DB31F7
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #050B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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