#050724#050724

#050724 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.1% C 0.060 H 272.7°. Best body text is #FFFFFF at 19.77:1 contrast (WCAG AA passes).

Color values

HEX#050724
RGBrgb(5, 7, 36)
HSLhsl(236, 76%, 8%)
HSVhsv(236, 86%, 14%)
CMYKcmyk(86.1%, 80.6%, 0%, 85.9%)
CIE-LABlab(2.81, 6.58, -17.60)
CIE-LCHlch(2.81, 18.79, 290.52°)
OKLaboklab(15.06% 0.0029 -0.0601)
OKLCHoklch(15.06% 0.06 272.7)
XYZxyz(0.4569, 0.3116, 1.7048)
Luminance0.0031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050724 #242205
analogous
#051624 #050724 #120524
triadic
#050724 #240507 #072405
tetradic
#050724 #240516 #242205 #052412
square
#050724 #240516 #242205 #052412
split-complementary
#050724 #241205 #162405
monochromatic
#04051B #04051B #050724 #0C115A #141C8F

Accessibility & contrast

On white

19.77
#050724 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050724
19.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050724#FFFFFF#000000##FFFFFF
##0507241.0019.771.0619.77
#FFFFFF19.771.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C25
Deuteranopia (green-blind)
#000923
Tritanopia (blue-blind)
#000E14
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #050724;
/* rgb */ color: rgb(5, 7, 36);
/* oklch */ color: oklch(15.1% 0.060 272.7);
Tailwind
colors: {
  custom: {
    50: '#494a5e',
    500: '#050724',
    950: '#000000',
  },
}
SCSS
$custom: #050724;
$custom-light: #494a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#050724",
  "rgb": {
    "r": 5,
    "g": 7,
    "b": 36
  },
  "hsl": {
    "h": 236.129,
    "s": 75.61,
    "l": 8.039
  },
  "oklch": {
    "l": 0.15061,
    "c": 0.06016,
    "h": 272.7
  },
  "luminance": 0.00312
}

Semantic roles & 50–950 ramp

primary
#050724
secondary
#66611F
accent
#E636F2
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010104
muted
#777779

Preview Lab

Preview with #050724

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

Preview Lab → · Contrast checker → · Palette generator →

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