#050323#050323

#050323 is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 13.7% C 0.067 H 277.1°. Best body text is #FFFFFF at 20.12:1 contrast (WCAG AA passes).

Color values

HEX#050323
RGBrgb(5, 3, 35)
HSLhsl(244, 84%, 7%)
HSVhsv(244, 91%, 14%)
CMYKcmyk(85.7%, 91.4%, 0%, 86.3%)
CIE-LABlab(1.98, 7.80, -18.11)
CIE-LCHlch(1.98, 19.72, 293.32°)
OKLaboklab(13.67% 0.0084 -0.0669)
OKLCHoklch(13.67% 0.067 277.1)
XYZxyz(0.3984, 0.2187, 1.6110)
Luminance0.0022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050323 #212303
analogous
#031123 #050323 #150323
triadic
#050323 #230503 #032305
tetradic
#050323 #230311 #212303 #032315
square
#050323 #230311 #212303 #032315
split-complementary
#050323 #231503 #112303
monochromatic
#04021C #04021C #050323 #0D085B #150D94

Accessibility & contrast

On white

20.12
#050323 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#050323 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050323
20.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050323#FFFFFF#000000##FFFFFF
##0503231.0020.121.0420.12
#FFFFFF20.121.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000824
Deuteranopia (green-blind)
#000622
Tritanopia (blue-blind)
#000B11
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #050323;
/* rgb */ color: rgb(5, 3, 35);
/* oklch */ color: oklch(13.7% 0.067 277.1);
Tailwind
colors: {
  custom: {
    50: '#48485e',
    500: '#050323',
    950: '#000000',
  },
}
SCSS
$custom: #050323;
$custom-light: #48485e;
$custom-dark: #000000;
JSON
{
  "hex": "#050323",
  "rgb": {
    "r": 5,
    "g": 3,
    "b": 35
  },
  "hsl": {
    "h": 243.75,
    "s": 84.211,
    "l": 7.451
  },
  "oklch": {
    "l": 0.13666,
    "c": 0.06738,
    "h": 277.1
  },
  "luminance": 0.00219
}

Semantic roles & 50–950 ramp

primary
#050323
secondary
#62671B
accent
#FA2DEE
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010004
muted
#777779

Preview Lab

Preview with #050323

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

Preview Lab → · Contrast checker → · Palette generator →

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