#6456F0#6456F0

#6456F0 is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.9% C 0.222 H 280.5°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#6456F0
RGBrgb(100, 86, 240)
HSLhsl(245, 84%, 64%)
HSVhsv(245, 64%, 94%)
CMYKcmyk(58.3%, 64.2%, 0%, 5.9%)
CIE-LABlab(46.52, 47.90, -75.76)
CIE-LCHlch(46.52, 89.63, 302.30°)
OKLaboklab(55.91% 0.0406 -0.218)
OKLCHoklch(55.91% 0.222 280.5)
XYZxyz(24.3065, 15.6545, 84.1619)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6456F0 #E2F056
analogous
#5695F0 #6456F0 #B156F0
triadic
#6456F0 #F06456 #56F064
tetradic
#6456F0 #F05695 #E2F056 #56F0B1
square
#6456F0 #F05695 #E2F056 #56F0B1
split-complementary
#6456F0 #F0B156 #95F056
monochromatic
#2011BB #301EEB #6456F0 #988EF5 #CBC6FA

Accessibility & contrast

On white

5.08
#6456F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#6456F0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6456F0
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6456F0#FFFFFF#000000##FFFFFF
##6456F01.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6456f0;
/* rgb */ color: rgb(100, 86, 240);
/* oklch */ color: oklch(55.9% 0.222 280.5);
Tailwind
colors: {
  custom: {
    50: '#9d87f6',
    500: '#6456f0',
    950: '#000000',
  },
}
SCSS
$custom: #6456f0;
$custom-light: #9d87f6;
$custom-dark: #000000;
JSON
{
  "hex": "#6456f0",
  "rgb": {
    "r": 100,
    "g": 86,
    "b": 240
  },
  "hsl": {
    "h": 245.455,
    "s": 83.696,
    "l": 63.922
  },
  "oklch": {
    "l": 0.55906,
    "c": 0.22177,
    "h": 280.5
  },
  "luminance": 0.15656
}

Semantic roles & 50–950 ramp

primary
#6456F0
secondary
#E7ECB6
accent
#E005CC
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6456F0

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

Preview Lab → · Contrast checker → · Palette generator →

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