#050E2C#050E2C

#050E2C is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.7% C 0.062 H 266.1°. Best body text is #FFFFFF at 18.99:1 contrast (WCAG AA passes).

Color values

HEX#050E2C
RGBrgb(5, 14, 44)
HSLhsl(226, 80%, 10%)
HSVhsv(226, 89%, 17%)
CMYKcmyk(88.6%, 68.2%, 0%, 82.7%)
CIE-LABlab(4.77, 7.05, -20.64)
CIE-LCHlch(4.77, 21.81, 288.86°)
OKLaboklab(17.75% -0.0042 -0.0623)
OKLCHoklch(17.75% 0.062 266.1)
XYZxyz(0.6741, 0.5281, 2.4488)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050E2C #2C2305
analogous
#05222C #050E2C #10052C
triadic
#050E2C #2C050E #0E2C05
tetradic
#050E2C #2C0522 #2C2305 #052C10
square
#050E2C #2C0522 #2C2305 #052C10
split-complementary
#050E2C #2C1005 #222C05
monochromatic
#03091B #03091B #050E2C #0B1F63 #11319A

Accessibility & contrast

On white

18.99
#050E2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050E2C
18.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050E2C#FFFFFF#000000##FFFFFF
##050E2C1.0018.991.1118.99
#FFFFFF18.991.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #050e2c;
/* rgb */ color: rgb(5, 14, 44);
/* oklch */ color: oklch(17.7% 0.062 266.1);
Tailwind
colors: {
  custom: {
    50: '#4a4d65',
    500: '#050e2c',
    950: '#000000',
  },
}
SCSS
$custom: #050e2c;
$custom-light: #4a4d65;
$custom-dark: #000000;
JSON
{
  "hex": "#050e2c",
  "rgb": {
    "r": 5,
    "g": 14,
    "b": 44
  },
  "hsl": {
    "h": 226.154,
    "s": 79.592,
    "l": 9.608
  },
  "oklch": {
    "l": 0.17745,
    "c": 0.06247,
    "h": 266.1
  },
  "luminance": 0.00528
}

Semantic roles & 50–950 ramp

primary
#050E2C
secondary
#6E5C1F
accent
#C932F6
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010105
muted
#77777A

Preview Lab

Preview with #050E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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