#050B38#050B38

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

Color values

HEX#050B38
RGBrgb(5, 11, 56)
HSLhsl(233, 84%, 12%)
HSVhsv(233, 91%, 22%)
CMYKcmyk(91.1%, 80.4%, 0%, 78%)
CIE-LABlab(5.03, 14.96, -29.10)
CIE-LCHlch(5.03, 32.72, 297.21°)
OKLaboklab(18.41% -0.0022 -0.0866)
OKLCHoklch(18.41% 0.087 268.5)
XYZxyz(0.8958, 0.5570, 3.8009)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050B38 #383205
analogous
#052538 #050B38 #190538
triadic
#050B38 #38050B #0B3805
tetradic
#050B38 #380525 #383205 #053819
square
#050B38 #380525 #383205 #053819
split-complementary
#050B38 #381905 #253805
monochromatic
#03061C #03061C #050B38 #0A1670 #0F21A8

Accessibility & contrast

On white

18.90
#050B38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050B38
18.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050B38#FFFFFF#000000##FFFFFF
##050B381.0018.901.1118.90
#FFFFFF18.901.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001339
Deuteranopia (green-blind)
#000E37
Tritanopia (blue-blind)
#001720
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #050b38;
/* rgb */ color: rgb(5, 11, 56);
/* oklch */ color: oklch(18.4% 0.087 268.5);
Tailwind
colors: {
  custom: {
    50: '#4e4b6f',
    500: '#050b38',
    950: '#000000',
  },
}
SCSS
$custom: #050b38;
$custom-light: #4e4b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#050b38",
  "rgb": {
    "r": 5,
    "g": 11,
    "b": 56
  },
  "hsl": {
    "h": 232.941,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.18412,
    "c": 0.08667,
    "h": 268.5
  },
  "luminance": 0.00557
}

Semantic roles & 50–950 ramp

primary
#050B38
secondary
#796F20
accent
#E22EFA
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #050B38

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

Preview Lab → · Contrast checker → · Palette generator →

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