#050835#050835

#050835 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.4% C 0.086 H 269.9°. Best body text is #FFFFFF at 19.22:1 contrast (WCAG AA passes).

Color values

HEX#050835
RGBrgb(5, 8, 53)
HSLhsl(236, 83%, 11%)
HSVhsv(236, 91%, 21%)
CMYKcmyk(90.6%, 84.9%, 0%, 79.2%)
CIE-LABlab(4.18, 14.41, -28.28)
CIE-LCHlch(4.18, 31.74, 297.01°)
OKLaboklab(17.41% -0.0001 -0.0861)
OKLCHoklch(17.41% 0.086 269.9)
XYZxyz(0.7918, 0.4629, 3.4151)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050835 #353205
analogous
#052035 #050835 #1A0535
triadic
#050835 #350508 #083505
tetradic
#050835 #350520 #353205 #05351A
square
#050835 #350520 #353205 #05351A
split-complementary
#050835 #351A05 #203505
monochromatic
#03041C #03041C #050835 #0A106D #1019A5

Accessibility & contrast

On white

19.22
#050835 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#050835 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050835
19.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050835#FFFFFF#000000##FFFFFF
##0508351.0019.221.0919.22
#FFFFFF19.221.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001136
Deuteranopia (green-blind)
#000C34
Tritanopia (blue-blind)
#00151D
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #050835;
/* rgb */ color: rgb(5, 8, 53);
/* oklch */ color: oklch(17.4% 0.086 269.9);
Tailwind
colors: {
  custom: {
    50: '#4d4a6d',
    500: '#050835',
    950: '#000000',
  },
}
SCSS
$custom: #050835;
$custom-light: #4d4a6d;
$custom-dark: #000000;
JSON
{
  "hex": "#050835",
  "rgb": {
    "r": 5,
    "g": 8,
    "b": 53
  },
  "hsl": {
    "h": 236.25,
    "s": 82.759,
    "l": 11.373
  },
  "oklch": {
    "l": 0.17413,
    "c": 0.08614,
    "h": 269.9
  },
  "luminance": 0.00463
}

Semantic roles & 50–950 ramp

primary
#050835
secondary
#767120
accent
#EC2FF9
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020107
muted
#78777A

Preview Lab

Preview with #050835

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

Preview Lab → · Contrast checker → · Palette generator →

#050835 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva