#060527#060527

#060527 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.0% C 0.069 H 275.9°. Best body text is #FFFFFF at 19.83:1 contrast (WCAG AA passes).

Color values

HEX#060527
RGBrgb(6, 5, 39)
HSLhsl(242, 77%, 9%)
HSVhsv(242, 87%, 15%)
CMYKcmyk(84.6%, 87.2%, 0%, 84.7%)
CIE-LABlab(2.65, 8.86, -20.16)
CIE-LCHlch(2.65, 22.02, 293.73°)
OKLaboklab(14.96% 0.0071 -0.0684)
OKLCHoklch(14.96% 0.069 275.9)
XYZxyz(0.4955, 0.2937, 1.9496)
Luminance0.0029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060527 #262705
analogous
#051527 #060527 #170527
triadic
#060527 #270605 #052706
tetradic
#060527 #270515 #262705 #052717
square
#060527 #270515 #262705 #052717
split-complementary
#060527 #271705 #152705
monochromatic
#04031B #04031B #060527 #0E0C5D #171393

Accessibility & contrast

On white

19.83
#060527 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #060527
19.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060527#FFFFFF#000000##FFFFFF
##0605271.0019.831.0619.83
#FFFFFF19.831.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #060527;
/* rgb */ color: rgb(6, 5, 39);
/* oklch */ color: oklch(15.0% 0.069 275.9);
Tailwind
colors: {
  custom: {
    50: '#494961',
    500: '#060527',
    950: '#000000',
  },
}
SCSS
$custom: #060527;
$custom-light: #494961;
$custom-dark: #000000;
JSON
{
  "hex": "#060527",
  "rgb": {
    "r": 6,
    "g": 5,
    "b": 39
  },
  "hsl": {
    "h": 241.765,
    "s": 77.273,
    "l": 8.627
  },
  "oklch": {
    "l": 0.14961,
    "c": 0.06879,
    "h": 275.9
  },
  "luminance": 0.00294
}

Semantic roles & 50–950 ramp

primary
#060527
secondary
#66691F
accent
#F434EE
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010005
muted
#777779

Preview Lab

Preview with #060527

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

Preview Lab → · Contrast checker → · Palette generator →

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