#6456E4#6456E4

#6456E4 is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 54.9% C 0.207 H 281.6°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#6456E4
RGBrgb(100, 86, 228)
HSLhsl(246, 72%, 62%)
HSVhsv(246, 62%, 89%)
CMYKcmyk(56.1%, 62.3%, 0%, 10.6%)
CIE-LABlab(45.59, 44.22, -70.51)
CIE-LCHlch(45.59, 83.23, 302.10°)
OKLaboklab(54.94% 0.0416 -0.2026)
OKLCHoklch(54.94% 0.207 281.6)
XYZxyz(22.5826, 14.9649, 75.0823)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6456E4 #D6E456
analogous
#568FE4 #6456E4 #AB56E4
triadic
#6456E4 #E46456 #56E464
tetradic
#6456E4 #E4568F #D6E456 #56E4AB
square
#6456E4 #E4568F #D6E456 #56E4AB
split-complementary
#6456E4 #E4AB56 #8FE456
monochromatic
#281AA5 #3523DA #6456E4 #948BEC #C5C0F5

Accessibility & contrast

On white

5.26
#6456E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#6456E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6456E4
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6456E4#FFFFFF#000000##FFFFFF
##6456E41.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E9
Deuteranopia (green-blind)
#0067E1
Tritanopia (blue-blind)
#207995
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6456e4;
/* rgb */ color: rgb(100, 86, 228);
/* oklch */ color: oklch(54.9% 0.207 281.6);
Tailwind
colors: {
  custom: {
    50: '#9b86ed',
    500: '#6456e4',
    950: '#000000',
  },
}
SCSS
$custom: #6456e4;
$custom-light: #9b86ed;
$custom-dark: #000000;
JSON
{
  "hex": "#6456e4",
  "rgb": {
    "r": 100,
    "g": 86,
    "b": 228
  },
  "hsl": {
    "h": 245.915,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.54938,
    "c": 0.20685,
    "h": 281.6
  },
  "luminance": 0.14966
}

Semantic roles & 50–950 ramp

primary
#6456E4
secondary
#E0E5B0
accent
#D511C1
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6456E4

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

Preview Lab → · Contrast checker → · Palette generator →

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