#050F2E#050F2E

#050F2E is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.2% C 0.064 H 265.5°. Best body text is #FFFFFF at 18.85:1 contrast (WCAG AA passes).

Color values

HEX#050F2E
RGBrgb(5, 15, 46)
HSLhsl(225, 80%, 10%)
HSVhsv(225, 89%, 18%)
CMYKcmyk(89.1%, 67.4%, 0%, 82%)
CIE-LABlab(5.16, 7.52, -21.52)
CIE-LCHlch(5.16, 22.80, 289.26°)
OKLaboklab(18.21% -0.005 -0.0642)
OKLCHoklch(18.21% 0.064 265.5)
XYZxyz(0.7264, 0.5711, 2.6562)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050F2E #2E2405
analogous
#05232E #050F2E #10052E
triadic
#050F2E #2E050F #0F2E05
tetradic
#050F2E #2E0523 #2E2405 #052E10
square
#050F2E #2E0523 #2E2405 #052E10
split-complementary
#050F2E #2E1005 #232E05
monochromatic
#03091C #03091C #050F2E #0B2165 #11339C

Accessibility & contrast

On white

18.85
#050F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050F2E
18.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050F2E#FFFFFF#000000##FFFFFF
##050F2E1.0018.851.1118.85
#FFFFFF18.851.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #050f2e;
/* rgb */ color: rgb(5, 15, 46);
/* oklch */ color: oklch(18.2% 0.064 265.5);
Tailwind
colors: {
  custom: {
    50: '#4b4d67',
    500: '#050f2e',
    950: '#000000',
  },
}
SCSS
$custom: #050f2e;
$custom-light: #4b4d67;
$custom-dark: #000000;
JSON
{
  "hex": "#050f2e",
  "rgb": {
    "r": 5,
    "g": 15,
    "b": 46
  },
  "hsl": {
    "h": 225.366,
    "s": 80.392,
    "l": 10
  },
  "oklch": {
    "l": 0.18207,
    "c": 0.06437,
    "h": 265.5
  },
  "luminance": 0.00571
}

Semantic roles & 50–950 ramp

primary
#050F2E
secondary
#705C1F
accent
#C731F7
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #050F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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