#6252DD#6252DD

#6252DD is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.6% C 0.203 H 282.3°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#6252DD
RGBrgb(98, 82, 221)
HSLhsl(247, 67%, 59%)
HSVhsv(247, 63%, 87%)
CMYKcmyk(55.7%, 62.9%, 0%, 13.3%)
CIE-LABlab(44.02, 44.06, -69.10)
CIE-LCHlch(44.02, 81.95, 302.52°)
OKLaboklab(53.59% 0.0433 -0.1985)
OKLCHoklch(53.59% 0.203 282.3)
XYZxyz(21.1014, 13.8504, 69.9541)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6252DD #CDDD52
analogous
#5288DD #6252DD #A752DD
triadic
#6252DD #DD6252 #52DD62
tetradic
#6252DD #DD5288 #CDDD52 #52DDA7
square
#6252DD #DD5288 #CDDD52 #52DDA7
split-complementary
#6252DD #DDA752 #88DD52
monochromatic
#2C1E97 #3A28CA #6252DD #9085E7 #BFB8F1

Accessibility & contrast

On white

5.57
#6252DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#6252DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6252DD
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6252DD#FFFFFF#000000##FFFFFF
##6252DD1.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)
#006DE1
Deuteranopia (green-blind)
#0063DA
Tritanopia (blue-blind)
#247490
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6252dd;
/* rgb */ color: rgb(98, 82, 221);
/* oklch */ color: oklch(53.6% 0.203 282.3);
Tailwind
colors: {
  custom: {
    50: '#9983e9',
    500: '#6252dd',
    950: '#000000',
  },
}
SCSS
$custom: #6252dd;
$custom-light: #9983e9;
$custom-dark: #000000;
JSON
{
  "hex": "#6252dd",
  "rgb": {
    "r": 98,
    "g": 82,
    "b": 221
  },
  "hsl": {
    "h": 246.906,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.53587,
    "c": 0.20321,
    "h": 282.3
  },
  "luminance": 0.13852
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6252DD

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

Preview Lab → · Contrast checker → · Palette generator →

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