#6452EB#6452EB

#6452EB is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.9% C 0.220 H 281.6°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#6452EB
RGBrgb(100, 82, 235)
HSLhsl(247, 79%, 62%)
HSVhsv(247, 65%, 92%)
CMYKcmyk(57.4%, 65.1%, 0%, 7.8%)
CIE-LABlab(45.28, 48.64, -74.97)
CIE-LCHlch(45.28, 89.37, 302.97°)
OKLaboklab(54.88% 0.0445 -0.2157)
OKLCHoklch(54.88% 0.22 281.6)
XYZxyz(23.2635, 14.7405, 80.2005)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6452EB #D9EB52
analogous
#528CEB #6452EB #B152EB
triadic
#6452EB #EB6452 #52EB64
tetradic
#6452EB #EB528C #D9EB52 #52EBB1
square
#6452EB #EB528C #D9EB52 #52EBB1
split-complementary
#6452EB #EBB152 #8CEB52
monochromatic
#2614AE #331BE5 #6452EB #9589F1 #C6C0F8

Accessibility & contrast

On white

5.32
#6452EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#6452EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6452EB
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6452EB#FFFFFF#000000##FFFFFF
##6452EB1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F0
Deuteranopia (green-blind)
#0066E8
Tritanopia (blue-blind)
#107997
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6452eb;
/* rgb */ color: rgb(100, 82, 235);
/* oklch */ color: oklch(54.9% 0.220 281.6);
Tailwind
colors: {
  custom: {
    50: '#9d84f3',
    500: '#6452eb',
    950: '#000000',
  },
}
SCSS
$custom: #6452eb;
$custom-light: #9d84f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6452eb",
  "rgb": {
    "r": 100,
    "g": 82,
    "b": 235
  },
  "hsl": {
    "h": 247.059,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.54883,
    "c": 0.22026,
    "h": 281.6
  },
  "luminance": 0.14742
}

Semantic roles & 50–950 ramp

primary
#6452EB
secondary
#E2E8B0
accent
#DC0AC3
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6452EB

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

Preview Lab → · Contrast checker → · Palette generator →

#6452EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva