#6052CE#6052CE

#6052CE is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.3% C 0.184 H 283.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#6052CE
RGBrgb(96, 82, 206)
HSLhsl(247, 56%, 56%)
HSVhsv(247, 60%, 81%)
CMYKcmyk(53.4%, 60.2%, 0%, 19.2%)
CIE-LABlab(42.73, 39.11, -62.61)
CIE-LCHlch(42.73, 73.82, 301.99°)
OKLaboklab(52.25% 0.0417 -0.1795)
OKLCHoklch(52.25% 0.184 283.1)
XYZxyz(18.9783, 12.9765, 59.8852)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6052CE #C0CE52
analogous
#5282CE #6052CE #9E52CE
triadic
#6052CE #CE6052 #52CE60
tetradic
#6052CE #CE5282 #C0CE52 #52CE9E
square
#6052CE #CE5282 #C0CE52 #52CE9E
split-complementary
#6052CE #CE9E52 #82CE52
monochromatic
#2F2581 #4032B1 #6052CE #8C82DC #B8B1E9

Accessibility & contrast

On white

5.84
#6052CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#6052CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6052CE
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6052CE#FFFFFF#000000##FFFFFF
##6052CE1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#0061CB
Tritanopia (blue-blind)
#306F88
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6052ce;
/* rgb */ color: rgb(96, 82, 206);
/* oklch */ color: oklch(52.3% 0.184 283.1);
Tailwind
colors: {
  custom: {
    50: '#9683de',
    500: '#6052ce',
    950: '#000000',
  },
}
SCSS
$custom: #6052ce;
$custom-light: #9683de;
$custom-dark: #000000;
JSON
{
  "hex": "#6052ce",
  "rgb": {
    "r": 96,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 246.774,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5225,
    "c": 0.18431,
    "h": 283.1
  },
  "luminance": 0.12978
}

Semantic roles & 50–950 ramp

primary
#6052CE
secondary
#D2D7A4
accent
#DF49CE
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6052CE

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

Preview Lab → · Contrast checker → · Palette generator →

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