#050F2D#050F2D

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

Color values

HEX#050F2D
RGBrgb(5, 15, 45)
HSLhsl(225, 80%, 10%)
HSVhsv(225, 89%, 18%)
CMYKcmyk(88.9%, 66.7%, 0%, 82.4%)
CIE-LABlab(5.09, 7.03, -20.89)
CIE-LCHlch(5.09, 22.04, 288.59°)
OKLaboklab(18.11% -0.0051 -0.0624)
OKLCHoklch(18.11% 0.063 265.3)
XYZxyz(0.7069, 0.5633, 2.5536)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050F2D #2D2305
analogous
#05232D #050F2D #0F052D
triadic
#050F2D #2D050F #0F2D05
tetradic
#050F2D #2D0523 #2D2305 #052D0F
square
#050F2D #2D0523 #2D2305 #052D0F
split-complementary
#050F2D #2D0F05 #232D05
monochromatic
#03091C #03091C #050F2D #0B2164 #11349B

Accessibility & contrast

On white

18.87
#050F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050F2D
18.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050F2D#FFFFFF#000000##FFFFFF
##050F2D1.0018.871.1118.87
#FFFFFF18.871.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #050f2d;
/* rgb */ color: rgb(5, 15, 45);
/* oklch */ color: oklch(18.1% 0.063 265.3);
Tailwind
colors: {
  custom: {
    50: '#4a4d66',
    500: '#050f2d',
    950: '#000000',
  },
}
SCSS
$custom: #050f2d;
$custom-light: #4a4d66;
$custom-dark: #000000;
JSON
{
  "hex": "#050f2d",
  "rgb": {
    "r": 5,
    "g": 15,
    "b": 45
  },
  "hsl": {
    "h": 225,
    "s": 80,
    "l": 9.804
  },
  "oklch": {
    "l": 0.18106,
    "c": 0.06263,
    "h": 265.3
  },
  "luminance": 0.00563
}

Semantic roles & 50–950 ramp

primary
#050F2D
secondary
#6F5B1F
accent
#C531F6
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #050F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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