#050826#050826

#050826 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.6% C 0.062 H 271.5°. Best body text is #FFFFFF at 19.64:1 contrast (WCAG AA passes).

Color values

HEX#050826
RGBrgb(5, 8, 38)
HSLhsl(235, 77%, 8%)
HSVhsv(235, 87%, 15%)
CMYKcmyk(86.8%, 78.9%, 0%, 85.1%)
CIE-LABlab(3.12, 6.99, -18.66)
CIE-LCHlch(3.12, 19.93, 290.52°)
OKLaboklab(15.57% 0.0016 -0.0617)
OKLCHoklch(15.57% 0.062 271.5)
XYZxyz(0.4992, 0.3458, 1.8738)
Luminance0.0035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050826 #262305
analogous
#051826 #050826 #120526
triadic
#050826 #260508 #082605
tetradic
#050826 #260518 #262305 #052612
square
#050826 #260518 #262305 #052612
split-complementary
#050826 #261205 #182605
monochromatic
#04061B #04061B #050826 #0C135C #131F92

Accessibility & contrast

On white

19.64
#050826 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#050826 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050826
19.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050826#FFFFFF#000000##FFFFFF
##0508261.0019.641.0719.64
#FFFFFF19.641.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D27
Deuteranopia (green-blind)
#000A25
Tritanopia (blue-blind)
#001015
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #050826;
/* rgb */ color: rgb(5, 8, 38);
/* oklch */ color: oklch(15.6% 0.062 271.5);
Tailwind
colors: {
  custom: {
    50: '#494a60',
    500: '#050826',
    950: '#000000',
  },
}
SCSS
$custom: #050826;
$custom-light: #494a60;
$custom-dark: #000000;
JSON
{
  "hex": "#050826",
  "rgb": {
    "r": 5,
    "g": 8,
    "b": 38
  },
  "hsl": {
    "h": 234.545,
    "s": 76.744,
    "l": 8.431
  },
  "oklch": {
    "l": 0.1557,
    "c": 0.06177,
    "h": 271.5
  },
  "luminance": 0.00346
}

Semantic roles & 50–950 ramp

primary
#050826
secondary
#68611F
accent
#E235F3
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010105
muted
#777779

Preview Lab

Preview with #050826

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

Preview Lab → · Contrast checker → · Palette generator →

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