#060528#060528

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

Color values

HEX#060528
RGBrgb(6, 5, 40)
HSLhsl(242, 78%, 9%)
HSVhsv(242, 88%, 16%)
CMYKcmyk(85%, 87.5%, 0%, 84.3%)
CIE-LABlab(2.71, 9.29, -20.84)
CIE-LCHlch(2.71, 22.82, 294.03°)
OKLaboklab(15.09% 0.0069 -0.0701)
OKLCHoklch(15.09% 0.07 275.6)
XYZxyz(0.5123, 0.3004, 2.0381)
Luminance0.0030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060528 #272805
analogous
#051628 #060528 #180528
triadic
#060528 #280605 #052806
tetradic
#060528 #280516 #272805 #052818
square
#060528 #280516 #272805 #052818
split-complementary
#060528 #281805 #162805
monochromatic
#04031B #04031B #060528 #0E0C5E #161395

Accessibility & contrast

On white

19.81
#060528 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #060528
19.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060528#FFFFFF#000000##FFFFFF
##0605281.0019.811.0619.81
#FFFFFF19.811.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B29
Deuteranopia (green-blind)
#000827
Tritanopia (blue-blind)
#000E15
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #060528;
/* rgb */ color: rgb(6, 5, 40);
/* oklch */ color: oklch(15.1% 0.070 275.6);
Tailwind
colors: {
  custom: {
    50: '#494962',
    500: '#060528',
    950: '#000000',
  },
}
SCSS
$custom: #060528;
$custom-light: #494962;
$custom-dark: #000000;
JSON
{
  "hex": "#060528",
  "rgb": {
    "r": 6,
    "g": 5,
    "b": 40
  },
  "hsl": {
    "h": 241.714,
    "s": 77.778,
    "l": 8.824
  },
  "oklch": {
    "l": 0.15089,
    "c": 0.0704,
    "h": 275.6
  },
  "luminance": 0.003
}

Semantic roles & 50–950 ramp

primary
#060528
secondary
#686A1F
accent
#F434EF
background
#F4F4F5
surface
#E7E6EA
border
#C3C2C6
text
#010005
muted
#777779

Preview Lab

Preview with #060528

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

Preview Lab → · Contrast checker → · Palette generator →

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