#050B39#050B39

#050B39 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.5% C 0.088 H 268.5°. Best body text is #FFFFFF at 18.86:1 contrast (WCAG AA passes).

Color values

HEX#050B39
RGBrgb(5, 11, 57)
HSLhsl(233, 84%, 12%)
HSVhsv(233, 91%, 22%)
CMYKcmyk(91.2%, 80.7%, 0%, 77.6%)
CIE-LABlab(5.12, 15.54, -29.69)
CIE-LCHlch(5.12, 33.51, 297.63°)
OKLaboklab(18.54% -0.0023 -0.0882)
OKLCHoklch(18.54% 0.088 268.5)
XYZxyz(0.9205, 0.5669, 3.9310)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050B39 #393305
analogous
#052539 #050B39 #190539
triadic
#050B39 #39050B #0B3905
tetradic
#050B39 #390525 #393305 #053919
square
#050B39 #390525 #393305 #053919
split-complementary
#050B39 #391905 #253905
monochromatic
#02051C #02051C #050B39 #0A1671 #0F21AA

Accessibility & contrast

On white

18.86
#050B39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050B39
18.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050B39#FFFFFF#000000##FFFFFF
##050B391.0018.861.1118.86
#FFFFFF18.861.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143A
Deuteranopia (green-blind)
#000F38
Tritanopia (blue-blind)
#001820
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #050b39;
/* rgb */ color: rgb(5, 11, 57);
/* oklch */ color: oklch(18.5% 0.088 268.5);
Tailwind
colors: {
  custom: {
    50: '#4f4b70',
    500: '#050b39',
    950: '#000000',
  },
}
SCSS
$custom: #050b39;
$custom-light: #4f4b70;
$custom-dark: #000000;
JSON
{
  "hex": "#050b39",
  "rgb": {
    "r": 5,
    "g": 11,
    "b": 57
  },
  "hsl": {
    "h": 233.077,
    "s": 83.871,
    "l": 12.157
  },
  "oklch": {
    "l": 0.18536,
    "c": 0.08821,
    "h": 268.5
  },
  "luminance": 0.00567
}

Semantic roles & 50–950 ramp

primary
#050B39
secondary
#7A7020
accent
#E32EFA
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #050B39

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

Preview Lab → · Contrast checker → · Palette generator →

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