#6052DC#6052DC

#6052DC is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.4% C 0.202 H 281.7°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#6052DC
RGBrgb(96, 82, 220)
HSLhsl(246, 66%, 59%)
HSVhsv(246, 63%, 86%)
CMYKcmyk(56.4%, 62.7%, 0%, 13.7%)
CIE-LABlab(43.78, 43.42, -68.92)
CIE-LCHlch(43.78, 81.45, 302.21°)
OKLaboklab(53.35% 0.0409 -0.1981)
OKLCHoklch(53.35% 0.202 281.7)
XYZxyz(20.7554, 13.6874, 69.2445)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6052DC #CEDC52
analogous
#5289DC #6052DC #A552DC
triadic
#6052DC #DC6052 #52DC60
tetradic
#6052DC #DC5289 #CEDC52 #52DCA5
square
#6052DC #DC5289 #CEDC52 #52DCA5
split-complementary
#6052DC #DCA552 #89DC52
monochromatic
#2A1E95 #3929C8 #6052DC #8F85E6 #BEB8F1

Accessibility & contrast

On white

5.62
#6052DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#6052DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6052DC
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6052DC#FFFFFF#000000##FFFFFF
##6052DC1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#0062D9
Tritanopia (blue-blind)
#1D748F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6052dc;
/* rgb */ color: rgb(96, 82, 220);
/* oklch */ color: oklch(53.4% 0.202 281.7);
Tailwind
colors: {
  custom: {
    50: '#9883e8',
    500: '#6052dc',
    950: '#000000',
  },
}
SCSS
$custom: #6052dc;
$custom-light: #9883e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6052dc",
  "rgb": {
    "r": 96,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 246.087,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.53351,
    "c": 0.20225,
    "h": 281.7
  },
  "luminance": 0.13689
}

Semantic roles & 50–950 ramp

primary
#6052DC
secondary
#DAE0AA
accent
#E93FD8
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6052DC

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

Preview Lab → · Contrast checker → · Palette generator →

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