#6052DF#6052DF

#6052DF is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.6% C 0.206 H 281.4°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#6052DF
RGBrgb(96, 82, 223)
HSLhsl(246, 69%, 60%)
HSVhsv(246, 63%, 87%)
CMYKcmyk(57%, 63.2%, 0%, 12.5%)
CIE-LABlab(44.01, 44.34, -70.25)
CIE-LCHlch(44.01, 83.07, 302.26°)
OKLaboklab(53.59% 0.0406 -0.202)
OKLCHoklch(53.59% 0.206 281.4)
XYZxyz(21.1563, 13.8477, 71.3558)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6052DF #D1DF52
analogous
#528BDF #6052DF #A652DF
triadic
#6052DF #DF6052 #52DF60
tetradic
#6052DF #DF528B #D1DF52 #52DFA6
square
#6052DF #DF528B #D1DF52 #52DFA6
split-complementary
#6052DF #DFA652 #8BDF52
monochromatic
#291D9A #3726CE #6052DF #8F86E9 #BFB9F2

Accessibility & contrast

On white

5.57
#6052DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#6052DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6052DF
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6052DF#FFFFFF#000000##FFFFFF
##6052DF1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE3
Deuteranopia (green-blind)
#0063DC
Tritanopia (blue-blind)
#177591
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6052df;
/* rgb */ color: rgb(96, 82, 223);
/* oklch */ color: oklch(53.6% 0.206 281.4);
Tailwind
colors: {
  custom: {
    50: '#9983ea',
    500: '#6052df',
    950: '#000000',
  },
}
SCSS
$custom: #6052df;
$custom-light: #9983ea;
$custom-dark: #000000;
JSON
{
  "hex": "#6052df",
  "rgb": {
    "r": 96,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 245.957,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53593,
    "c": 0.20602,
    "h": 281.4
  },
  "luminance": 0.13849
}

Semantic roles & 50–950 ramp

primary
#6052DF
secondary
#DCE2AB
accent
#EC3CDA
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6052DF

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

Preview Lab → · Contrast checker → · Palette generator →

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