#6052C8#6052C8

#6052C8 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.8% C 0.176 H 283.7°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#6052C8
RGBrgb(96, 82, 200)
HSLhsl(247, 52%, 55%)
HSVhsv(247, 59%, 78%)
CMYKcmyk(52%, 59%, 0%, 21.6%)
CIE-LABlab(42.29, 37.26, -59.85)
CIE-LCHlch(42.29, 70.50, 301.91°)
OKLaboklab(51.79% 0.0419 -0.1714)
OKLCHoklch(51.79% 0.176 283.7)
XYZxyz(18.2633, 12.6905, 56.1196)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6052C8 #BAC852
analogous
#527FC8 #6052C8 #9B52C8
triadic
#6052C8 #C86052 #52C860
tetradic
#6052C8 #C8527F #BAC852 #52C89B
square
#6052C8 #C8527F #BAC852 #52C89B
split-complementary
#6052C8 #C89B52 #7FC852
monochromatic
#302779 #4335A8 #6052C8 #8B80D7 #B5AFE6

Accessibility & contrast

On white

5.93
#6052C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#6052C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6052C8
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6052C8#FFFFFF#000000##FFFFFF
##6052C81.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#0060C6
Tritanopia (blue-blind)
#366E85
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6052c8;
/* rgb */ color: rgb(96, 82, 200);
/* oklch */ color: oklch(51.8% 0.176 283.7);
Tailwind
colors: {
  custom: {
    50: '#9583d9',
    500: '#6052c8',
    950: '#000000',
  },
}
SCSS
$custom: #6052c8;
$custom-light: #9583d9;
$custom-dark: #000000;
JSON
{
  "hex": "#6052c8",
  "rgb": {
    "r": 96,
    "g": 82,
    "b": 200
  },
  "hsl": {
    "h": 247.119,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51794,
    "c": 0.17647,
    "h": 283.7
  },
  "luminance": 0.12692
}

Semantic roles & 50–950 ramp

primary
#6052C8
secondary
#CED4A2
accent
#DB4DCA
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #6052C8

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

Preview Lab → · Contrast checker → · Palette generator →

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