#050E2E#050E2E

#050E2E is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.0% C 0.066 H 266.4°. Best body text is #FFFFFF at 18.94:1 contrast (WCAG AA passes).

Color values

HEX#050E2E
RGBrgb(5, 14, 46)
HSLhsl(227, 80%, 10%)
HSVhsv(227, 89%, 18%)
CMYKcmyk(89.1%, 69.6%, 0%, 82%)
CIE-LABlab(4.91, 8.03, -21.92)
CIE-LCHlch(4.91, 23.34, 290.12°)
OKLaboklab(17.95% -0.0041 -0.0658)
OKLCHoklch(17.95% 0.066 266.4)
XYZxyz(0.7126, 0.5435, 2.6516)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050E2E #2E2505
analogous
#05232E #050E2E #10052E
triadic
#050E2E #2E050E #0E2E05
tetradic
#050E2E #2E0523 #2E2505 #052E10
square
#050E2E #2E0523 #2E2505 #052E10
split-complementary
#050E2E #2E1005 #232E05
monochromatic
#03081C #03081C #050E2E #0B1F65 #11309C

Accessibility & contrast

On white

18.94
#050E2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050E2E
18.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050E2E#FFFFFF#000000##FFFFFF
##050E2E1.0018.941.1118.94
#FFFFFF18.941.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00132F
Deuteranopia (green-blind)
#000F2D
Tritanopia (blue-blind)
#00161C
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #050e2e;
/* rgb */ color: rgb(5, 14, 46);
/* oklch */ color: oklch(18.0% 0.066 266.4);
Tailwind
colors: {
  custom: {
    50: '#4b4d67',
    500: '#050e2e',
    950: '#000000',
  },
}
SCSS
$custom: #050e2e;
$custom-light: #4b4d67;
$custom-dark: #000000;
JSON
{
  "hex": "#050e2e",
  "rgb": {
    "r": 5,
    "g": 14,
    "b": 46
  },
  "hsl": {
    "h": 226.829,
    "s": 80.392,
    "l": 10
  },
  "oklch": {
    "l": 0.17952,
    "c": 0.06594,
    "h": 266.4
  },
  "luminance": 0.00544
}

Semantic roles & 50–950 ramp

primary
#050E2E
secondary
#705E1F
accent
#CB31F7
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #050E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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