#050525#050525

#050525 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 14.6% C 0.066 H 274.5°. Best body text is #FFFFFF at 19.91:1 contrast (WCAG AA passes).

Color values

HEX#050525
RGBrgb(5, 5, 37)
HSLhsl(240, 76%, 8%)
HSVhsv(240, 86%, 15%)
CMYKcmyk(86.5%, 86.5%, 0%, 85.5%)
CIE-LABlab(2.48, 7.78, -18.89)
CIE-LCHlch(2.48, 20.43, 292.39°)
OKLaboklab(14.59% 0.0052 -0.0658)
OKLCHoklch(14.59% 0.066 274.5)
XYZxyz(0.4507, 0.2743, 1.7791)
Luminance0.0027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050525 #252505
analogous
#051525 #050525 #150525
triadic
#050525 #250505 #052505
tetradic
#050525 #250515 #252505 #052515
square
#050525 #250515 #252505 #052515
split-complementary
#050525 #251505 #152505
monochromatic
#04041B #04041B #050525 #0C0C5B #141491

Accessibility & contrast

On white

19.91
#050525 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050525
19.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050525#FFFFFF#000000##FFFFFF
##0505251.0019.911.0519.91
#FFFFFF19.911.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B26
Deuteranopia (green-blind)
#000824
Tritanopia (blue-blind)
#000D13
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #050525;
/* rgb */ color: rgb(5, 5, 37);
/* oklch */ color: oklch(14.6% 0.066 274.5);
Tailwind
colors: {
  custom: {
    50: '#49495f',
    500: '#050525',
    950: '#000000',
  },
}
SCSS
$custom: #050525;
$custom-light: #49495f;
$custom-dark: #000000;
JSON
{
  "hex": "#050525",
  "rgb": {
    "r": 5,
    "g": 5,
    "b": 37
  },
  "hsl": {
    "h": 240,
    "s": 76.19,
    "l": 8.235
  },
  "oklch": {
    "l": 0.14585,
    "c": 0.06597,
    "h": 274.5
  },
  "luminance": 0.00274
}

Semantic roles & 50–950 ramp

primary
#050525
secondary
#67671F
accent
#F335F3
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010004
muted
#777779

Preview Lab

Preview with #050525

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

Preview Lab → · Contrast checker → · Palette generator →

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