#050E2F#050E2F

#050E2F is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.1% C 0.068 H 266.6°. Best body text is #FFFFFF at 18.91:1 contrast (WCAG AA passes).

Color values

HEX#050E2F
RGBrgb(5, 14, 47)
HSLhsl(227, 81%, 10%)
HSVhsv(227, 89%, 18%)
CMYKcmyk(89.4%, 70.2%, 0%, 81.6%)
CIE-LABlab(4.98, 8.53, -22.55)
CIE-LCHlch(4.98, 24.11, 290.73°)
OKLaboklab(18.06% -0.004 -0.0675)
OKLCHoklch(18.06% 0.068 266.6)
XYZxyz(0.7325, 0.5515, 2.7566)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050E2F #2F2605
analogous
#05232F #050E2F #11052F
triadic
#050E2F #2F050E #0E2F05
tetradic
#050E2F #2F0523 #2F2605 #052F11
square
#050E2F #2F0523 #2F2605 #052F11
split-complementary
#050E2F #2F1105 #232F05
monochromatic
#03081C #03081C #050E2F #0B1E66 #112F9E

Accessibility & contrast

On white

18.91
#050E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050E2F
18.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050E2F#FFFFFF#000000##FFFFFF
##050E2F1.0018.911.1118.91
#FFFFFF18.911.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001330
Deuteranopia (green-blind)
#000F2E
Tritanopia (blue-blind)
#00161C
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #050e2f;
/* rgb */ color: rgb(5, 14, 47);
/* oklch */ color: oklch(18.1% 0.068 266.6);
Tailwind
colors: {
  custom: {
    50: '#4b4d68',
    500: '#050e2f',
    950: '#000000',
  },
}
SCSS
$custom: #050e2f;
$custom-light: #4b4d68;
$custom-dark: #000000;
JSON
{
  "hex": "#050e2f",
  "rgb": {
    "r": 5,
    "g": 14,
    "b": 47
  },
  "hsl": {
    "h": 227.143,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.18057,
    "c": 0.06764,
    "h": 266.6
  },
  "luminance": 0.00552
}

Semantic roles & 50–950 ramp

primary
#050E2F
secondary
#715F1F
accent
#CD31F7
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #050E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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