#050D2F#050D2F

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

Color values

HEX#050D2F
RGBrgb(5, 13, 47)
HSLhsl(229, 81%, 10%)
HSVhsv(229, 89%, 18%)
CMYKcmyk(89.4%, 72.3%, 0%, 81.6%)
CIE-LABlab(4.75, 9.02, -22.93)
CIE-LCHlch(4.75, 24.64, 291.47°)
OKLaboklab(17.81% -0.0032 -0.0691)
OKLCHoklch(17.81% 0.069 267.4)
XYZxyz(0.7194, 0.5253, 2.7522)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050D2F #2F2705
analogous
#05222F #050D2F #12052F
triadic
#050D2F #2F050D #0D2F05
tetradic
#050D2F #2F0522 #2F2705 #052F12
square
#050D2F #2F0522 #2F2705 #052F12
split-complementary
#050D2F #2F1205 #222F05
monochromatic
#03081C #03081C #050D2F #0B1C66 #112C9E

Accessibility & contrast

On white

19.00
#050D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050D2F
19.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050D2F#FFFFFF#000000##FFFFFF
##050D2F1.0019.001.1119.00
#FFFFFF19.001.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF19.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001230
Deuteranopia (green-blind)
#000E2E
Tritanopia (blue-blind)
#00161C
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #050d2f;
/* rgb */ color: rgb(5, 13, 47);
/* oklch */ color: oklch(17.8% 0.069 267.4);
Tailwind
colors: {
  custom: {
    50: '#4b4c68',
    500: '#050d2f',
    950: '#000000',
  },
}
SCSS
$custom: #050d2f;
$custom-light: #4b4c68;
$custom-dark: #000000;
JSON
{
  "hex": "#050d2f",
  "rgb": {
    "r": 5,
    "g": 13,
    "b": 47
  },
  "hsl": {
    "h": 228.571,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.17811,
    "c": 0.06919,
    "h": 267.4
  },
  "luminance": 0.00525
}

Semantic roles & 50–950 ramp

primary
#050D2F
secondary
#71611F
accent
#D131F7
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #050D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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