#6052EB#6052EB

#6052EB is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.6% C 0.221 H 280.3°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#6052EB
RGBrgb(96, 82, 235)
HSLhsl(245, 79%, 62%)
HSVhsv(245, 65%, 92%)
CMYKcmyk(59.1%, 65.1%, 0%, 7.8%)
CIE-LABlab(44.97, 48.03, -75.49)
CIE-LCHlch(44.97, 89.47, 302.47°)
OKLaboklab(54.58% 0.0394 -0.2174)
OKLCHoklch(54.58% 0.221 280.3)
XYZxyz(22.8318, 14.5179, 80.1802)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6052EB #DDEB52
analogous
#5291EB #6052EB #AC52EB
triadic
#6052EB #EB6052 #52EB60
tetradic
#6052EB #EB5291 #DDEB52 #52EBAC
square
#6052EB #EB5291 #DDEB52 #52EBAC
split-complementary
#6052EB #EBAC52 #91EB52
monochromatic
#2214AE #2E1BE5 #6052EB #9289F1 #C5C0F8

Accessibility & contrast

On white

5.38
#6052EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#6052EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6052EB
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6052EB#FFFFFF#000000##FFFFFF
##6052EB1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F0
Deuteranopia (green-blind)
#0065E8
Tritanopia (blue-blind)
#007997
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6052eb;
/* rgb */ color: rgb(96, 82, 235);
/* oklch */ color: oklch(54.6% 0.221 280.3);
Tailwind
colors: {
  custom: {
    50: '#9b84f3',
    500: '#6052eb',
    950: '#000000',
  },
}
SCSS
$custom: #6052eb;
$custom-light: #9b84f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6052eb",
  "rgb": {
    "r": 96,
    "g": 82,
    "b": 235
  },
  "hsl": {
    "h": 245.49,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.54581,
    "c": 0.22091,
    "h": 280.3
  },
  "luminance": 0.1452
}

Semantic roles & 50–950 ramp

primary
#6052EB
secondary
#E3E8B0
accent
#DC0AC8
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6052EB

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

Preview Lab → · Contrast checker → · Palette generator →

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