#050726#050726

#050726 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.3% C 0.064 H 272.4°. Best body text is #FFFFFF at 19.72:1 contrast (WCAG AA passes).

Color values

HEX#050726
RGBrgb(5, 7, 38)
HSLhsl(236, 77%, 8%)
HSVhsv(236, 87%, 15%)
CMYKcmyk(86.8%, 81.6%, 0%, 85.1%)
CIE-LABlab(2.93, 7.38, -18.97)
CIE-LCHlch(2.93, 20.36, 291.27°)
OKLaboklab(15.3% 0.0027 -0.0636)
OKLCHoklch(15.3% 0.064 272.4)
XYZxyz(0.4883, 0.3241, 1.8702)
Luminance0.0032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050726 #262405
analogous
#051726 #050726 #130526
triadic
#050726 #260507 #072605
tetradic
#050726 #260517 #262405 #052613
square
#050726 #260517 #262405 #052613
split-complementary
#050726 #261305 #172605
monochromatic
#04051B #04051B #050726 #0C115C #131B92

Accessibility & contrast

On white

19.72
#050726 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#050726 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050726
19.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050726#FFFFFF#000000##FFFFFF
##0507261.0019.721.0619.72
#FFFFFF19.721.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C27
Deuteranopia (green-blind)
#000925
Tritanopia (blue-blind)
#000F15
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #050726;
/* rgb */ color: rgb(5, 7, 38);
/* oklch */ color: oklch(15.3% 0.064 272.4);
Tailwind
colors: {
  custom: {
    50: '#494a60',
    500: '#050726',
    950: '#000000',
  },
}
SCSS
$custom: #050726;
$custom-light: #494a60;
$custom-dark: #000000;
JSON
{
  "hex": "#050726",
  "rgb": {
    "r": 5,
    "g": 7,
    "b": 38
  },
  "hsl": {
    "h": 236.364,
    "s": 76.744,
    "l": 8.431
  },
  "oklch": {
    "l": 0.15295,
    "c": 0.06362,
    "h": 272.4
  },
  "luminance": 0.00324
}

Semantic roles & 50–950 ramp

primary
#050726
secondary
#68631F
accent
#E835F3
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010105
muted
#777779

Preview Lab

Preview with #050726

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

Preview Lab → · Contrast checker → · Palette generator →

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