#050B35#050B35

#050B35 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.0% C 0.082 H 268.7°. Best body text is #FFFFFF at 18.99:1 contrast (WCAG AA passes).

Color values

HEX#050B35
RGBrgb(5, 11, 53)
HSLhsl(233, 83%, 11%)
HSVhsv(233, 91%, 21%)
CMYKcmyk(90.6%, 79.2%, 0%, 79.2%)
CIE-LABlab(4.77, 13.20, -27.32)
CIE-LCHlch(4.77, 30.34, 295.78°)
OKLaboklab(18.05% -0.0019 -0.0819)
OKLCHoklch(18.05% 0.082 268.7)
XYZxyz(0.8246, 0.5286, 3.4260)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050B35 #352F05
analogous
#052335 #050B35 #170535
triadic
#050B35 #35050B #0B3505
tetradic
#050B35 #350523 #352F05 #053517
square
#050B35 #350523 #352F05 #053517
split-complementary
#050B35 #351705 #233505
monochromatic
#03061C #03061C #050B35 #0A176D #1022A5

Accessibility & contrast

On white

18.99
#050B35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050B35
18.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050B35#FFFFFF#000000##FFFFFF
##050B351.0018.991.1118.99
#FFFFFF18.991.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001336
Deuteranopia (green-blind)
#000E34
Tritanopia (blue-blind)
#00161E
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #050b35;
/* rgb */ color: rgb(5, 11, 53);
/* oklch */ color: oklch(18.0% 0.082 268.7);
Tailwind
colors: {
  custom: {
    50: '#4d4b6d',
    500: '#050b35',
    950: '#000000',
  },
}
SCSS
$custom: #050b35;
$custom-light: #4d4b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#050b35",
  "rgb": {
    "r": 5,
    "g": 11,
    "b": 53
  },
  "hsl": {
    "h": 232.5,
    "s": 82.759,
    "l": 11.373
  },
  "oklch": {
    "l": 0.18045,
    "c": 0.08196,
    "h": 268.7
  },
  "luminance": 0.00529
}

Semantic roles & 50–950 ramp

primary
#050B35
secondary
#766B20
accent
#E02FF9
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020107
muted
#78777A

Preview Lab

Preview with #050B35

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

Preview Lab → · Contrast checker → · Palette generator →

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