#6052FF#6052FF

#6052FF is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 56.3% C 0.245 H 278.6°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#6052FF
RGBrgb(96, 82, 255)
HSLhsl(245, 100%, 66%)
HSVhsv(245, 68%, 100%)
CMYKcmyk(62.4%, 67.8%, 0%, 0%)
CIE-LABlab(46.63, 54.14, -83.97)
CIE-LCHlch(46.63, 99.91, 302.81°)
OKLaboklab(56.29% 0.0368 -0.2422)
OKLCHoklch(56.29% 0.245 278.6)
XYZxyz(25.8854, 15.7393, 96.2623)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6052FF #F1FF52
analogous
#529BFF #6052FF #B652FF
triadic
#6052FF #FF6052 #52FF60
tetradic
#6052FF #FF529B #F1FF52 #52FFB6
square
#6052FF #FF529B #F1FF52 #52FFB6
split-complementary
#6052FF #FFB652 #9BFF52
monochromatic
#1100D7 #2815FF #6052FF #988FFF #D0CCFF

Accessibility & contrast

On white

5.06
#6052FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#6052FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6052FF
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6052FF#FFFFFF#000000##FFFFFF
##6052FF1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075FF
Deuteranopia (green-blind)
#0067FC
Tritanopia (blue-blind)
#0080A2
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6052ff;
/* rgb */ color: rgb(96, 82, 255);
/* oklch */ color: oklch(56.3% 0.245 278.6);
Tailwind
colors: {
  custom: {
    50: '#9e84ff',
    500: '#6052ff',
    950: '#000000',
  },
}
SCSS
$custom: #6052ff;
$custom-light: #9e84ff;
$custom-dark: #000000;
JSON
{
  "hex": "#6052ff",
  "rgb": {
    "r": 96,
    "g": 82,
    "b": 255
  },
  "hsl": {
    "h": 244.855,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.56293,
    "c": 0.24501,
    "h": 278.6
  },
  "luminance": 0.15741
}

Semantic roles & 50–950 ramp

primary
#6052FF
secondary
#EEF3BA
accent
#E600D3
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #6052FF

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

Preview Lab → · Contrast checker → · Palette generator →

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