#6456EF#6456EF

#6456EF is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 55.8% C 0.221 H 280.6°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#6456EF
RGBrgb(100, 86, 239)
HSLhsl(245, 83%, 64%)
HSVhsv(245, 64%, 94%)
CMYKcmyk(58.2%, 64%, 0%, 6.3%)
CIE-LABlab(46.44, 47.59, -75.33)
CIE-LCHlch(46.44, 89.10, 302.28°)
OKLaboklab(55.82% 0.0407 -0.2168)
OKLCHoklch(55.82% 0.221 280.6)
XYZxyz(24.1584, 15.5952, 83.3818)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6456EF #E1EF56
analogous
#5694EF #6456EF #B056EF
triadic
#6456EF #EF6456 #56EF64
tetradic
#6456EF #EF5694 #E1EF56 #56EFB0
square
#6456EF #EF5694 #E1EF56 #56EFB0
split-complementary
#6456EF #EFB056 #94EF56
monochromatic
#2112B9 #311EEA #6456EF #978EF4 #CBC6FA

Accessibility & contrast

On white

5.10
#6456EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#6456EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6456EF
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6456EF#FFFFFF#000000##FFFFFF
##6456EF1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F4
Deuteranopia (green-blind)
#0068EC
Tritanopia (blue-blind)
#007D9B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6456ef;
/* rgb */ color: rgb(100, 86, 239);
/* oklch */ color: oklch(55.8% 0.221 280.6);
Tailwind
colors: {
  custom: {
    50: '#9d87f5',
    500: '#6456ef',
    950: '#000000',
  },
}
SCSS
$custom: #6456ef;
$custom-light: #9d87f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6456ef",
  "rgb": {
    "r": 100,
    "g": 86,
    "b": 239
  },
  "hsl": {
    "h": 245.49,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.55824,
    "c": 0.22054,
    "h": 280.6
  },
  "luminance": 0.15597
}

Semantic roles & 50–950 ramp

primary
#6456EF
secondary
#E6EBB5
accent
#DF06CB
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6456EF

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

Preview Lab → · Contrast checker → · Palette generator →

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