#6052E4#6052E4

#6052E4 is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 54.0% C 0.212 H 280.9°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#6052E4
RGBrgb(96, 82, 228)
HSLhsl(246, 73%, 61%)
HSVhsv(246, 64%, 89%)
CMYKcmyk(57.9%, 64%, 0%, 10.6%)
CIE-LABlab(44.41, 45.88, -72.45)
CIE-LCHlch(44.41, 85.75, 302.34°)
OKLaboklab(54% 0.0402 -0.2084)
OKLCHoklch(54% 0.212 280.9)
XYZxyz(21.8404, 14.1213, 74.9586)
Luminance0.1412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6052E4 #D6E452
analogous
#528DE4 #6052E4 #A952E4
triadic
#6052E4 #E46052 #52E460
tetradic
#6052E4 #E4528D #D6E452 #52E4A9
square
#6052E4 #E4528D #D6E452 #52E4A9
split-complementary
#6052E4 #E4A952 #8DE452
monochromatic
#2619A2 #3322D7 #6052E4 #9187EC #C1BCF5

Accessibility & contrast

On white

5.49
#6052E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#6052E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6052E4
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6052E4#FFFFFF#000000##FFFFFF
##6052E41.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE9
Deuteranopia (green-blind)
#0064E1
Tritanopia (blue-blind)
#067794
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6052e4;
/* rgb */ color: rgb(96, 82, 228);
/* oklch */ color: oklch(54.0% 0.212 280.9);
Tailwind
colors: {
  custom: {
    50: '#9a84ee',
    500: '#6052e4',
    950: '#000000',
  },
}
SCSS
$custom: #6052e4;
$custom-light: #9a84ee;
$custom-dark: #000000;
JSON
{
  "hex": "#6052e4",
  "rgb": {
    "r": 96,
    "g": 82,
    "b": 228
  },
  "hsl": {
    "h": 245.753,
    "s": 73,
    "l": 60.784
  },
  "oklch": {
    "l": 0.54001,
    "c": 0.21227,
    "h": 280.9
  },
  "luminance": 0.14123
}

Semantic roles & 50–950 ramp

primary
#6052E4
secondary
#DFE5AD
accent
#D510C2
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6052E4

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

Preview Lab → · Contrast checker → · Palette generator →

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