#050F29#050F29

#050F29 is a very dark, muted blue. Relative luminance 0.005; OKLCH L 17.7% C 0.056 H 264.2°. Best body text is #FFFFFF at 18.97:1 contrast (WCAG AA passes).

Color values

HEX#050F29
RGBrgb(5, 15, 41)
HSLhsl(223, 78%, 9%)
HSVhsv(223, 88%, 16%)
CMYKcmyk(87.8%, 63.4%, 0%, 83.9%)
CIE-LABlab(4.82, 5.16, -18.30)
CIE-LCHlch(4.82, 19.01, 285.76°)
OKLaboklab(17.71% -0.0056 -0.0553)
OKLCHoklch(17.71% 0.056 264.2)
XYZxyz(0.6335, 0.5339, 2.1671)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050F29 #291F05
analogous
#052129 #050F29 #0D0529
triadic
#050F29 #29050F #0F2905
tetradic
#050F29 #290521 #291F05 #05290D
square
#050F29 #290521 #291F05 #05290D
split-complementary
#050F29 #290D05 #212905
monochromatic
#030A1B #030A1B #050F29 #0C2360 #123796

Accessibility & contrast

On white

18.97
#050F29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050F29
18.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050F29#FFFFFF#000000##FFFFFF
##050F291.0018.971.1118.97
#FFFFFF18.971.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02122A
Deuteranopia (green-blind)
#000F28
Tritanopia (blue-blind)
#00151A
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #050f29;
/* rgb */ color: rgb(5, 15, 41);
/* oklch */ color: oklch(17.7% 0.056 264.2);
Tailwind
colors: {
  custom: {
    50: '#494e63',
    500: '#050f29',
    950: '#000000',
  },
}
SCSS
$custom: #050f29;
$custom-light: #494e63;
$custom-dark: #000000;
JSON
{
  "hex": "#050f29",
  "rgb": {
    "r": 5,
    "g": 15,
    "b": 41
  },
  "hsl": {
    "h": 223.333,
    "s": 78.261,
    "l": 9.02
  },
  "oklch": {
    "l": 0.17713,
    "c": 0.05558,
    "h": 264.2
  },
  "luminance": 0.00534
}

Semantic roles & 50–950 ramp

primary
#050F29
secondary
#6B561F
accent
#BF33F5
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010105
muted
#777779

Preview Lab

Preview with #050F29

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

Preview Lab → · Contrast checker → · Palette generator →

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