#6052FA#6052FA

#6052FA is a mid, highly saturated blue. Relative luminance 0.154; OKLCH L 55.9% C 0.239 H 279.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#6052FA
RGBrgb(96, 82, 250)
HSLhsl(245, 94%, 65%)
HSVhsv(245, 67%, 98%)
CMYKcmyk(61.6%, 67.2%, 0%, 2%)
CIE-LABlab(46.21, 52.62, -81.88)
CIE-LCHlch(46.21, 97.33, 302.73°)
OKLaboklab(55.86% 0.0376 -0.2361)
OKLCHoklch(55.86% 0.239 279)
XYZxyz(25.0910, 15.4216, 92.0784)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6052FA #ECFA52
analogous
#5298FA #6052FA #B452FA
triadic
#6052FA #FA6052 #52FA60
tetradic
#6052FA #FA5298 #ECFA52 #52FAB4
square
#6052FA #FA5298 #ECFA52 #52FAB4
split-complementary
#6052FA #FAB452 #98FA52
monochromatic
#1606CC #2917F8 #6052FA #978DFC #CDC9FD

Accessibility & contrast

On white

5.14
#6052FA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#6052FA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6052FA
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6052FA#FFFFFF#000000##FFFFFF
##6052FA1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074FF
Deuteranopia (green-blind)
#0067F7
Tritanopia (blue-blind)
#007FA0
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6052fa;
/* rgb */ color: rgb(96, 82, 250);
/* oklch */ color: oklch(55.9% 0.239 279.0);
Tailwind
colors: {
  custom: {
    50: '#9d84fd',
    500: '#6052fa',
    950: '#000000',
  },
}
SCSS
$custom: #6052fa;
$custom-light: #9d84fd;
$custom-dark: #000000;
JSON
{
  "hex": "#6052fa",
  "rgb": {
    "r": 96,
    "g": 82,
    "b": 250
  },
  "hsl": {
    "h": 245,
    "s": 94.382,
    "l": 65.098
  },
  "oklch": {
    "l": 0.55858,
    "c": 0.23906,
    "h": 279
  },
  "luminance": 0.15424
}

Semantic roles & 50–950 ramp

primary
#6052FA
secondary
#ECF0B7
accent
#E600D2
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #6052FA

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

Preview Lab → · Contrast checker → · Palette generator →

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