#050E2A#050E2A

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

Color values

HEX#050E2A
RGBrgb(5, 14, 42)
HSLhsl(225, 79%, 9%)
HSVhsv(225, 88%, 16%)
CMYKcmyk(88.1%, 66.7%, 0%, 83.5%)
CIE-LABlab(4.64, 6.12, -19.35)
CIE-LCHlch(4.64, 20.29, 287.56°)
OKLaboklab(17.54% -0.0044 -0.0588)
OKLCHoklch(17.54% 0.059 265.7)
XYZxyz(0.6374, 0.5134, 2.2556)
Luminance0.0051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050E2A #2A2105
analogous
#05212A #050E2A #0F052A
triadic
#050E2A #2A050E #0E2A05
tetradic
#050E2A #2A0521 #2A2105 #052A0F
square
#050E2A #2A0521 #2A2105 #052A0F
split-complementary
#050E2A #2A0F05 #212A05
monochromatic
#03091B #03091B #050E2A #0C2061 #123297

Accessibility & contrast

On white

19.04
#050E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050E2A
19.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050E2A#FFFFFF#000000##FFFFFF
##050E2A1.0019.041.1019.04
#FFFFFF19.041.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122B
Deuteranopia (green-blind)
#000E29
Tritanopia (blue-blind)
#00151A
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #050e2a;
/* rgb */ color: rgb(5, 14, 42);
/* oklch */ color: oklch(17.5% 0.059 265.7);
Tailwind
colors: {
  custom: {
    50: '#4a4d63',
    500: '#050e2a',
    950: '#000000',
  },
}
SCSS
$custom: #050e2a;
$custom-light: #4a4d63;
$custom-dark: #000000;
JSON
{
  "hex": "#050e2a",
  "rgb": {
    "r": 5,
    "g": 14,
    "b": 42
  },
  "hsl": {
    "h": 225.405,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.17542,
    "c": 0.05897,
    "h": 265.7
  },
  "luminance": 0.00514
}

Semantic roles & 50–950 ramp

primary
#050E2A
secondary
#6C591F
accent
#C633F5
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010105
muted
#777779

Preview Lab

Preview with #050E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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