#6052CA#6052CA

#6052CA is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.9% C 0.179 H 283.5°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#6052CA
RGBrgb(96, 82, 202)
HSLhsl(247, 53%, 56%)
HSVhsv(247, 59%, 79%)
CMYKcmyk(52.5%, 59.4%, 0%, 20.8%)
CIE-LABlab(42.44, 37.88, -60.77)
CIE-LCHlch(42.44, 71.61, 301.93°)
OKLaboklab(51.94% 0.0419 -0.1741)
OKLCHoklch(51.94% 0.179 283.5)
XYZxyz(18.4986, 12.7846, 57.3586)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6052CA #BCCA52
analogous
#5280CA #6052CA #9C52CA
triadic
#6052CA #CA6052 #52CA60
tetradic
#6052CA #CA5280 #BCCA52 #52CA9C
square
#6052CA #CA5280 #BCCA52 #52CA9C
split-complementary
#6052CA #CA9C52 #80CA52
monochromatic
#30267C #4234AB #6052CA #8B81D8 #B6B0E7

Accessibility & contrast

On white

5.90
#6052CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#6052CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6052CA
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6052CA#FFFFFF#000000##FFFFFF
##6052CA1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#346E86
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6052ca;
/* rgb */ color: rgb(96, 82, 202);
/* oklch */ color: oklch(51.9% 0.179 283.5);
Tailwind
colors: {
  custom: {
    50: '#9683db',
    500: '#6052ca',
    950: '#000000',
  },
}
SCSS
$custom: #6052ca;
$custom-light: #9683db;
$custom-dark: #000000;
JSON
{
  "hex": "#6052ca",
  "rgb": {
    "r": 96,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 247,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.51945,
    "c": 0.17909,
    "h": 283.5
  },
  "luminance": 0.12786
}

Semantic roles & 50–950 ramp

primary
#6052CA
secondary
#CFD5A3
accent
#DD4BCC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #6052CA

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

Preview Lab → · Contrast checker → · Palette generator →

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