#6052CD#6052CD

#6052CD is a mid, vivid blue. Relative luminance 0.129; OKLCH L 52.2% C 0.183 H 283.2°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#6052CD
RGBrgb(96, 82, 205)
HSLhsl(247, 55%, 56%)
HSVhsv(247, 60%, 80%)
CMYKcmyk(53.2%, 60%, 0%, 19.6%)
CIE-LABlab(42.65, 38.80, -62.15)
CIE-LCHlch(42.65, 73.27, 301.97°)
OKLaboklab(52.17% 0.0418 -0.1782)
OKLCHoklch(52.17% 0.183 283.2)
XYZxyz(18.8573, 12.9281, 59.2475)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6052CD #BFCD52
analogous
#5282CD #6052CD #9E52CD
triadic
#6052CD #CD6052 #52CD60
tetradic
#6052CD #CD5282 #BFCD52 #52CD9E
square
#6052CD #CD5282 #BFCD52 #52CD9E
split-complementary
#6052CD #CD9E52 #82CD52
monochromatic
#2F2580 #4133AF #6052CD #8C81DB #B7B1E8

Accessibility & contrast

On white

5.86
#6052CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#6052CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6052CD
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6052CD#FFFFFF#000000##FFFFFF
##6052CD1.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#0061CA
Tritanopia (blue-blind)
#316F88
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6052cd;
/* rgb */ color: rgb(96, 82, 205);
/* oklch */ color: oklch(52.2% 0.183 283.2);
Tailwind
colors: {
  custom: {
    50: '#9683dd',
    500: '#6052cd',
    950: '#000000',
  },
}
SCSS
$custom: #6052cd;
$custom-light: #9683dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6052cd",
  "rgb": {
    "r": 96,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 246.829,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52173,
    "c": 0.18301,
    "h": 283.2
  },
  "luminance": 0.12929
}

Semantic roles & 50–950 ramp

primary
#6052CD
secondary
#D1D7A4
accent
#DE49CE
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6052CD

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

Preview Lab → · Contrast checker → · Palette generator →

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