#6052EC#6052EC

#6052EC is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.7% C 0.222 H 280.2°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#6052EC
RGBrgb(96, 82, 236)
HSLhsl(245, 80%, 62%)
HSVhsv(245, 65%, 93%)
CMYKcmyk(59.3%, 65.3%, 0%, 7.5%)
CIE-LABlab(45.05, 48.34, -75.92)
CIE-LCHlch(45.05, 90.00, 302.48°)
OKLaboklab(54.67% 0.0393 -0.2186)
OKLCHoklch(54.67% 0.222 280.2)
XYZxyz(22.9767, 14.5759, 80.9433)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6052EC #DEEC52
analogous
#5291EC #6052EC #AD52EC
triadic
#6052EC #EC6052 #52EC60
tetradic
#6052EC #EC5291 #DEEC52 #52ECAD
square
#6052EC #EC5291 #DEEC52 #52ECAD
split-complementary
#6052EC #ECAD52 #91EC52
monochromatic
#2213B0 #2D1BE6 #6052EC #9389F2 #C5C0F8

Accessibility & contrast

On white

5.36
#6052EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#6052EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6052EC
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6052EC#FFFFFF#000000##FFFFFF
##6052EC1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F1
Deuteranopia (green-blind)
#0065E9
Tritanopia (blue-blind)
#007A98
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6052ec;
/* rgb */ color: rgb(96, 82, 236);
/* oklch */ color: oklch(54.7% 0.222 280.2);
Tailwind
colors: {
  custom: {
    50: '#9b84f3',
    500: '#6052ec',
    950: '#000000',
  },
}
SCSS
$custom: #6052ec;
$custom-light: #9b84f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6052ec",
  "rgb": {
    "r": 96,
    "g": 82,
    "b": 236
  },
  "hsl": {
    "h": 245.455,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.54665,
    "c": 0.22213,
    "h": 280.2
  },
  "luminance": 0.14578
}

Semantic roles & 50–950 ramp

primary
#6052EC
secondary
#E4E9B1
accent
#DD09C9
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6052EC

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

Preview Lab → · Contrast checker → · Palette generator →

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