#050523#050523

#050523 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 14.3% C 0.063 H 275.1°. Best body text is #FFFFFF at 19.95:1 contrast (WCAG AA passes).

Color values

HEX#050523
RGBrgb(5, 5, 35)
HSLhsl(240, 75%, 8%)
HSVhsv(240, 86%, 14%)
CMYKcmyk(85.7%, 85.7%, 0%, 86.3%)
CIE-LABlab(2.37, 7.00, -17.50)
CIE-LCHlch(2.37, 18.85, 291.81°)
OKLaboklab(14.33% 0.0056 -0.0624)
OKLCHoklch(14.33% 0.063 275.1)
XYZxyz(0.4201, 0.2621, 1.6182)
Luminance0.0026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050523 #232305
analogous
#051423 #050523 #140523
triadic
#050523 #230505 #052305
tetradic
#050523 #230514 #232305 #052314
square
#050523 #230514 #232305 #052314
split-complementary
#050523 #231405 #142305
monochromatic
#04041B #04041B #050523 #0D0D59 #14148E

Accessibility & contrast

On white

19.95
#050523 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#050523 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050523
19.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050523#FFFFFF#000000##FFFFFF
##0505231.0019.951.0519.95
#FFFFFF19.951.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A24
Deuteranopia (green-blind)
#000722
Tritanopia (blue-blind)
#000C12
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #050523;
/* rgb */ color: rgb(5, 5, 35);
/* oklch */ color: oklch(14.3% 0.063 275.1);
Tailwind
colors: {
  custom: {
    50: '#48495e',
    500: '#050523',
    950: '#000000',
  },
}
SCSS
$custom: #050523;
$custom-light: #48495e;
$custom-dark: #000000;
JSON
{
  "hex": "#050523",
  "rgb": {
    "r": 5,
    "g": 5,
    "b": 35
  },
  "hsl": {
    "h": 240,
    "s": 75,
    "l": 7.843
  },
  "oklch": {
    "l": 0.14334,
    "c": 0.06263,
    "h": 275.1
  },
  "luminance": 0.00262
}

Semantic roles & 50–950 ramp

primary
#050523
secondary
#64641F
accent
#F236F2
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010004
muted
#777779

Preview Lab

Preview with #050523

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

Preview Lab → · Contrast checker → · Palette generator →

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