#6452E4#6452E4

#6452E4 is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 54.3% C 0.212 H 282.3°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#6452E4
RGBrgb(100, 82, 228)
HSLhsl(247, 73%, 61%)
HSVhsv(247, 64%, 89%)
CMYKcmyk(56.1%, 64%, 0%, 10.6%)
CIE-LABlab(44.72, 46.52, -71.92)
CIE-LCHlch(44.72, 85.65, 302.90°)
OKLaboklab(54.31% 0.0452 -0.2068)
OKLCHoklch(54.31% 0.212 282.3)
XYZxyz(22.2721, 14.3439, 74.9788)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6452E4 #D2E452
analogous
#5289E4 #6452E4 #AD52E4
triadic
#6452E4 #E46452 #52E464
tetradic
#6452E4 #E45289 #D2E452 #52E4AD
square
#6452E4 #E45289 #D2E452 #52E4AD
split-complementary
#6452E4 #E4AD52 #89E452
monochromatic
#2A19A2 #3822D7 #6452E4 #9387EC #C3BCF5

Accessibility & contrast

On white

5.43
#6452E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#6452E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6452E4
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6452E4#FFFFFF#000000##FFFFFF
##6452E41.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE9
Deuteranopia (green-blind)
#0065E1
Tritanopia (blue-blind)
#217794
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6452e4;
/* rgb */ color: rgb(100, 82, 228);
/* oklch */ color: oklch(54.3% 0.212 282.3);
Tailwind
colors: {
  custom: {
    50: '#9c84ee',
    500: '#6452e4',
    950: '#000000',
  },
}
SCSS
$custom: #6452e4;
$custom-light: #9c84ee;
$custom-dark: #000000;
JSON
{
  "hex": "#6452e4",
  "rgb": {
    "r": 100,
    "g": 82,
    "b": 228
  },
  "hsl": {
    "h": 247.397,
    "s": 73,
    "l": 60.784
  },
  "oklch": {
    "l": 0.54309,
    "c": 0.21165,
    "h": 282.3
  },
  "luminance": 0.14345
}

Semantic roles & 50–950 ramp

primary
#6452E4
secondary
#DEE5AD
accent
#D510BD
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6452E4

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

Preview Lab → · Contrast checker → · Palette generator →

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