#050D39#050D39

#050D39 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.0% C 0.085 H 267.7°. Best body text is #FFFFFF at 18.70:1 contrast (WCAG AA passes).

Color values

HEX#050D39
RGBrgb(5, 13, 57)
HSLhsl(231, 84%, 12%)
HSVhsv(231, 91%, 22%)
CMYKcmyk(91.2%, 77.2%, 0%, 77.6%)
CIE-LABlab(5.56, 14.58, -28.98)
CIE-LCHlch(5.56, 32.44, 296.71°)
OKLaboklab(18.95% -0.0035 -0.0854)
OKLCHoklch(18.95% 0.085 267.7)
XYZxyz(0.9448, 0.6154, 3.9391)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050D39 #393105
analogous
#052739 #050D39 #170539
triadic
#050D39 #39050D #0D3905
tetradic
#050D39 #390527 #393105 #053917
square
#050D39 #390527 #393105 #053917
split-complementary
#050D39 #391705 #273905
monochromatic
#02061C #02061C #050D39 #0A1A71 #0F27AA

Accessibility & contrast

On white

18.70
#050D39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#050D39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050D39
18.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050D39#FFFFFF#000000##FFFFFF
##050D391.0018.701.1218.70
#FFFFFF18.701.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153A
Deuteranopia (green-blind)
#001038
Tritanopia (blue-blind)
#001921
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #050d39;
/* rgb */ color: rgb(5, 13, 57);
/* oklch */ color: oklch(19.0% 0.085 267.7);
Tailwind
colors: {
  custom: {
    50: '#4f4c70',
    500: '#050d39',
    950: '#000000',
  },
}
SCSS
$custom: #050d39;
$custom-light: #4f4c70;
$custom-dark: #000000;
JSON
{
  "hex": "#050d39",
  "rgb": {
    "r": 5,
    "g": 13,
    "b": 57
  },
  "hsl": {
    "h": 230.769,
    "s": 83.871,
    "l": 12.157
  },
  "oklch": {
    "l": 0.18953,
    "c": 0.08549,
    "h": 267.7
  },
  "luminance": 0.00616
}

Semantic roles & 50–950 ramp

primary
#050D39
secondary
#7A6C20
accent
#DB2EFA
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #050D39

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

Preview Lab → · Contrast checker → · Palette generator →

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