#050D2E#050D2E

#050D2E is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.7% C 0.068 H 267.3°. Best body text is #FFFFFF at 19.03:1 contrast (WCAG AA passes).

Color values

HEX#050D2E
RGBrgb(5, 13, 46)
HSLhsl(228, 80%, 10%)
HSVhsv(228, 89%, 18%)
CMYKcmyk(89.1%, 71.7%, 0%, 82%)
CIE-LABlab(4.67, 8.51, -22.30)
CIE-LCHlch(4.67, 23.87, 290.90°)
OKLaboklab(17.7% -0.0032 -0.0674)
OKLCHoklch(17.7% 0.068 267.3)
XYZxyz(0.6995, 0.5173, 2.6472)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050D2E #2E2605
analogous
#05212E #050D2E #12052E
triadic
#050D2E #2E050D #0D2E05
tetradic
#050D2E #2E0521 #2E2605 #052E12
square
#050D2E #2E0521 #2E2605 #052E12
split-complementary
#050D2E #2E1205 #212E05
monochromatic
#03081C #03081C #050D2E #0B1D65 #112C9C

Accessibility & contrast

On white

19.03
#050D2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#050D2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050D2E
19.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050D2E#FFFFFF#000000##FFFFFF
##050D2E1.0019.031.1019.03
#FFFFFF19.031.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122F
Deuteranopia (green-blind)
#000E2D
Tritanopia (blue-blind)
#00151B
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #050d2e;
/* rgb */ color: rgb(5, 13, 46);
/* oklch */ color: oklch(17.7% 0.068 267.3);
Tailwind
colors: {
  custom: {
    50: '#4b4c67',
    500: '#050d2e',
    950: '#000000',
  },
}
SCSS
$custom: #050d2e;
$custom-light: #4b4c67;
$custom-dark: #000000;
JSON
{
  "hex": "#050d2e",
  "rgb": {
    "r": 5,
    "g": 13,
    "b": 46
  },
  "hsl": {
    "h": 228.293,
    "s": 80.392,
    "l": 10
  },
  "oklch": {
    "l": 0.17702,
    "c": 0.0675,
    "h": 267.3
  },
  "luminance": 0.00517
}

Semantic roles & 50–950 ramp

primary
#050D2E
secondary
#70601F
accent
#D031F7
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #050D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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