#6252EE#6252EE

#6252EE is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 55.0% C 0.224 H 280.7°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#6252EE
RGBrgb(98, 82, 238)
HSLhsl(246, 82%, 63%)
HSVhsv(246, 66%, 93%)
CMYKcmyk(58.8%, 65.5%, 0%, 6.7%)
CIE-LABlab(45.36, 49.24, -76.53)
CIE-LCHlch(45.36, 91.00, 302.76°)
OKLaboklab(54.98% 0.0416 -0.2203)
OKLCHoklch(54.98% 0.224 280.7)
XYZxyz(23.4821, 14.8027, 82.4921)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6252EE #DEEE52
analogous
#5290EE #6252EE #B052EE
triadic
#6252EE #EE6252 #52EE62
tetradic
#6252EE #EE5290 #DEEE52 #52EEB0
square
#6252EE #EE5290 #DEEE52 #52EEB0
split-complementary
#6252EE #EEB052 #90EE52
monochromatic
#2212B4 #2F1AE9 #6252EE #958AF3 #C7C1F9

Accessibility & contrast

On white

5.30
#6252EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#6252EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6252EE
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6252EE#FFFFFF#000000##FFFFFF
##6252EE1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F3
Deuteranopia (green-blind)
#0065EB
Tritanopia (blue-blind)
#007A99
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6252ee;
/* rgb */ color: rgb(98, 82, 238);
/* oklch */ color: oklch(55.0% 0.224 280.7);
Tailwind
colors: {
  custom: {
    50: '#9c84f5',
    500: '#6252ee',
    950: '#000000',
  },
}
SCSS
$custom: #6252ee;
$custom-light: #9c84f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6252ee",
  "rgb": {
    "r": 98,
    "g": 82,
    "b": 238
  },
  "hsl": {
    "h": 246.154,
    "s": 82.105,
    "l": 62.745
  },
  "oklch": {
    "l": 0.54981,
    "c": 0.22424,
    "h": 280.7
  },
  "luminance": 0.14804
}

Semantic roles & 50–950 ramp

primary
#6252EE
secondary
#E4EAB2
accent
#DE07C8
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6252EE

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

Preview Lab → · Contrast checker → · Palette generator →

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