#050F2A#050F2A

#050F2A is a very dark, muted blue. Relative luminance 0.005; OKLCH L 17.8% C 0.057 H 264.5°. Best body text is #FFFFFF at 18.95:1 contrast (WCAG AA passes).

Color values

HEX#050F2A
RGBrgb(5, 15, 42)
HSLhsl(224, 79%, 9%)
HSVhsv(224, 88%, 16%)
CMYKcmyk(88.1%, 64.3%, 0%, 83.5%)
CIE-LABlab(4.89, 5.61, -18.95)
CIE-LCHlch(4.89, 19.77, 286.49°)
OKLaboklab(17.81% -0.0055 -0.0571)
OKLCHoklch(17.81% 0.057 264.5)
XYZxyz(0.6512, 0.5410, 2.2601)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050F2A #2A2005
analogous
#05222A #050F2A #0E052A
triadic
#050F2A #2A050F #0F2A05
tetradic
#050F2A #2A0522 #2A2005 #052A0E
square
#050F2A #2A0522 #2A2005 #052A0E
split-complementary
#050F2A #2A0E05 #222A05
monochromatic
#030A1B #030A1B #050F2A #0C2361 #123697

Accessibility & contrast

On white

18.95
#050F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050F2A
18.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050F2A#FFFFFF#000000##FFFFFF
##050F2A1.0018.951.1118.95
#FFFFFF18.951.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02122B
Deuteranopia (green-blind)
#000F29
Tritanopia (blue-blind)
#00151A
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #050f2a;
/* rgb */ color: rgb(5, 15, 42);
/* oklch */ color: oklch(17.8% 0.057 264.5);
Tailwind
colors: {
  custom: {
    50: '#4a4e63',
    500: '#050f2a',
    950: '#000000',
  },
}
SCSS
$custom: #050f2a;
$custom-light: #4a4e63;
$custom-dark: #000000;
JSON
{
  "hex": "#050f2a",
  "rgb": {
    "r": 5,
    "g": 15,
    "b": 42
  },
  "hsl": {
    "h": 223.784,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.17809,
    "c": 0.05736,
    "h": 264.5
  },
  "luminance": 0.00541
}

Semantic roles & 50–950 ramp

primary
#050F2A
secondary
#6C571F
accent
#C133F5
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010105
muted
#777779

Preview Lab

Preview with #050F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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