#6252DC#6252DC

#6252DC is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.5% C 0.202 H 282.4°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#6252DC
RGBrgb(98, 82, 220)
HSLhsl(247, 66%, 59%)
HSVhsv(247, 63%, 86%)
CMYKcmyk(55.5%, 62.7%, 0%, 13.7%)
CIE-LABlab(43.94, 43.76, -68.65)
CIE-LCHlch(43.94, 81.41, 302.51°)
OKLaboklab(53.51% 0.0434 -0.1972)
OKLCHoklch(53.51% 0.202 282.4)
XYZxyz(20.9686, 13.7973, 69.2545)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6252DC #CCDC52
analogous
#5287DC #6252DC #A752DC
triadic
#6252DC #DC6252 #52DC62
tetradic
#6252DC #DC5287 #CCDC52 #52DCA7
square
#6252DC #DC5287 #CCDC52 #52DCA7
split-complementary
#6252DC #DCA752 #87DC52
monochromatic
#2C1E95 #3B29C8 #6252DC #9085E6 #BEB8F1

Accessibility & contrast

On white

5.59
#6252DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#6252DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6252DC
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6252DC#FFFFFF#000000##FFFFFF
##6252DC1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#0063D9
Tritanopia (blue-blind)
#25748F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6252dc;
/* rgb */ color: rgb(98, 82, 220);
/* oklch */ color: oklch(53.5% 0.202 282.4);
Tailwind
colors: {
  custom: {
    50: '#9983e8',
    500: '#6252dc',
    950: '#000000',
  },
}
SCSS
$custom: #6252dc;
$custom-light: #9983e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6252dc",
  "rgb": {
    "r": 98,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 246.957,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.53507,
    "c": 0.20195,
    "h": 282.4
  },
  "luminance": 0.13799
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6252DC

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

Preview Lab → · Contrast checker → · Palette generator →

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