#050F2B#050F2B

#050F2B is a very dark, muted blue. Relative luminance 0.005; OKLCH L 17.9% C 0.059 H 264.8°. Best body text is #FFFFFF at 18.93:1 contrast (WCAG AA passes).

Color values

HEX#050F2B
RGBrgb(5, 15, 43)
HSLhsl(224, 79%, 9%)
HSVhsv(224, 88%, 17%)
CMYKcmyk(88.4%, 65.1%, 0%, 83.1%)
CIE-LABlab(4.95, 6.07, -19.60)
CIE-LCHlch(4.95, 20.52, 287.20°)
OKLaboklab(17.91% -0.0053 -0.0589)
OKLCHoklch(17.91% 0.059 264.8)
XYZxyz(0.6693, 0.5483, 2.3556)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050F2B #2B2105
analogous
#05222B #050F2B #0E052B
triadic
#050F2B #2B050F #0F2B05
tetradic
#050F2B #2B0522 #2B2105 #052B0E
square
#050F2B #2B0522 #2B2105 #052B0E
split-complementary
#050F2B #2B0E05 #222B05
monochromatic
#030A1B #030A1B #050F2B #0B2262 #123599

Accessibility & contrast

On white

18.93
#050F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#050F2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050F2B
18.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050F2B#FFFFFF#000000##FFFFFF
##050F2B1.0018.931.1118.93
#FFFFFF18.931.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01132C
Deuteranopia (green-blind)
#000F2A
Tritanopia (blue-blind)
#00161B
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #050f2b;
/* rgb */ color: rgb(5, 15, 43);
/* oklch */ color: oklch(17.9% 0.059 264.8);
Tailwind
colors: {
  custom: {
    50: '#4a4d64',
    500: '#050f2b',
    950: '#000000',
  },
}
SCSS
$custom: #050f2b;
$custom-light: #4a4d64;
$custom-dark: #000000;
JSON
{
  "hex": "#050f2b",
  "rgb": {
    "r": 5,
    "g": 15,
    "b": 43
  },
  "hsl": {
    "h": 224.211,
    "s": 79.167,
    "l": 9.412
  },
  "oklch": {
    "l": 0.17907,
    "c": 0.05913,
    "h": 264.8
  },
  "luminance": 0.00548
}

Semantic roles & 50–950 ramp

primary
#050F2B
secondary
#6D581F
accent
#C232F6
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010105
muted
#77777A

Preview Lab

Preview with #050F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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