#6052CC#6052CC

#6052CC is a mid, vivid blue. Relative luminance 0.129; OKLCH L 52.1% C 0.182 H 283.3°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#6052CC
RGBrgb(96, 82, 204)
HSLhsl(247, 54%, 56%)
HSVhsv(247, 60%, 80%)
CMYKcmyk(52.9%, 59.8%, 0%, 20%)
CIE-LABlab(42.58, 38.49, -61.69)
CIE-LCHlch(42.58, 72.71, 301.96°)
OKLaboklab(52.1% 0.0418 -0.1768)
OKLCHoklch(52.1% 0.182 283.3)
XYZxyz(18.7369, 12.8800, 58.6138)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6052CC #BECC52
analogous
#5281CC #6052CC #9D52CC
triadic
#6052CC #CC6052 #52CC60
tetradic
#6052CC #CC5281 #BECC52 #52CC9D
square
#6052CC #CC5281 #BECC52 #52CC9D
split-complementary
#6052CC #CC9D52 #81CC52
monochromatic
#2F257E #4133AE #6052CC #8B81DA #B7B1E8

Accessibility & contrast

On white

5.87
#6052CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#6052CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6052CC
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6052CC#FFFFFF#000000##FFFFFF
##6052CC1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D0
Deuteranopia (green-blind)
#0060C9
Tritanopia (blue-blind)
#326F87
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6052cc;
/* rgb */ color: rgb(96, 82, 204);
/* oklch */ color: oklch(52.1% 0.182 283.3);
Tailwind
colors: {
  custom: {
    50: '#9683dc',
    500: '#6052cc',
    950: '#000000',
  },
}
SCSS
$custom: #6052cc;
$custom-light: #9683dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6052cc",
  "rgb": {
    "r": 96,
    "g": 82,
    "b": 204
  },
  "hsl": {
    "h": 246.885,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52097,
    "c": 0.18171,
    "h": 283.3
  },
  "luminance": 0.12881
}

Semantic roles & 50–950 ramp

primary
#6052CC
secondary
#D0D6A4
accent
#DE4ACD
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #6052CC

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

Preview Lab → · Contrast checker → · Palette generator →

#6052CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva