#050E2D#050E2D

#050E2D is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.8% C 0.064 H 266.3°. Best body text is #FFFFFF at 18.97:1 contrast (WCAG AA passes).

Color values

HEX#050E2D
RGBrgb(5, 14, 45)
HSLhsl(227, 80%, 10%)
HSVhsv(227, 89%, 18%)
CMYKcmyk(88.9%, 68.9%, 0%, 82.4%)
CIE-LABlab(4.84, 7.53, -21.28)
CIE-LCHlch(4.84, 22.58, 289.49°)
OKLaboklab(17.85% -0.0041 -0.0641)
OKLCHoklch(17.85% 0.064 266.3)
XYZxyz(0.6931, 0.5357, 2.5490)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050E2D #2D2405
analogous
#05222D #050E2D #10052D
triadic
#050E2D #2D050E #0E2D05
tetradic
#050E2D #2D0522 #2D2405 #052D10
square
#050E2D #2D0522 #2D2405 #052D10
split-complementary
#050E2D #2D1005 #222D05
monochromatic
#03091C #03091C #050E2D #0B1F64 #11309B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##050E2D#FFFFFF#000000##FFFFFF
##050E2D1.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)
#00122E
Deuteranopia (green-blind)
#000F2C
Tritanopia (blue-blind)
#00161B
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #050e2d;
/* rgb */ color: rgb(5, 14, 45);
/* oklch */ color: oklch(17.8% 0.064 266.3);
Tailwind
colors: {
  custom: {
    50: '#4a4d66',
    500: '#050e2d',
    950: '#000000',
  },
}
SCSS
$custom: #050e2d;
$custom-light: #4a4d66;
$custom-dark: #000000;
JSON
{
  "hex": "#050e2d",
  "rgb": {
    "r": 5,
    "g": 14,
    "b": 45
  },
  "hsl": {
    "h": 226.5,
    "s": 80,
    "l": 9.804
  },
  "oklch": {
    "l": 0.17848,
    "c": 0.06421,
    "h": 266.3
  },
  "luminance": 0.00536
}

Semantic roles & 50–950 ramp

primary
#050E2D
secondary
#6F5D1F
accent
#CA31F6
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #050E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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