#6052EE#6052EE

#6052EE is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.8% C 0.225 H 280.0°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#6052EE
RGBrgb(96, 82, 238)
HSLhsl(245, 82%, 63%)
HSVhsv(245, 66%, 93%)
CMYKcmyk(59.7%, 65.5%, 0%, 6.7%)
CIE-LABlab(45.21, 48.95, -76.78)
CIE-LCHlch(45.21, 91.06, 302.52°)
OKLaboklab(54.83% 0.0391 -0.2212)
OKLCHoklch(54.83% 0.225 280)
XYZxyz(23.2689, 14.6927, 82.4821)
Luminance0.1469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6052EE #E0EE52
analogous
#5292EE #6052EE #AE52EE
triadic
#6052EE #EE6052 #52EE60
tetradic
#6052EE #EE5292 #E0EE52 #52EEAE
square
#6052EE #EE5292 #E0EE52 #52EEAE
split-complementary
#6052EE #EEAE52 #92EE52
monochromatic
#2012B4 #2D1AE9 #6052EE #938AF3 #C6C1F9

Accessibility & contrast

On white

5.33
#6052EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#6052EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6052EE
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6052EE#FFFFFF#000000##FFFFFF
##6052EE1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F3
Deuteranopia (green-blind)
#0065EB
Tritanopia (blue-blind)
#007A99
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6052ee;
/* rgb */ color: rgb(96, 82, 238);
/* oklch */ color: oklch(54.8% 0.225 280.0);
Tailwind
colors: {
  custom: {
    50: '#9b84f5',
    500: '#6052ee',
    950: '#000000',
  },
}
SCSS
$custom: #6052ee;
$custom-light: #9b84f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6052ee",
  "rgb": {
    "r": 96,
    "g": 82,
    "b": 238
  },
  "hsl": {
    "h": 245.385,
    "s": 82.105,
    "l": 62.745
  },
  "oklch": {
    "l": 0.54833,
    "c": 0.22458,
    "h": 280
  },
  "luminance": 0.14694
}

Semantic roles & 50–950 ramp

primary
#6052EE
secondary
#E5EAB2
accent
#DE07CB
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6052EE

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

Preview Lab → · Contrast checker → · Palette generator →

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