#6456F4#6456F4

#6456F4 is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 56.2% C 0.227 H 280.2°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#6456F4
RGBrgb(100, 86, 244)
HSLhsl(245, 88%, 65%)
HSVhsv(245, 65%, 96%)
CMYKcmyk(59%, 64.8%, 0%, 4.3%)
CIE-LABlab(46.84, 49.12, -77.48)
CIE-LCHlch(46.84, 91.74, 302.37°)
OKLaboklab(56.24% 0.0402 -0.2231)
OKLCHoklch(56.24% 0.227 280.2)
XYZxyz(24.9073, 15.8948, 87.3259)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6456F4 #E6F456
analogous
#5697F4 #6456F4 #B356F4
triadic
#6456F4 #F46456 #56F464
tetradic
#6456F4 #F45697 #E6F456 #56F4B3
square
#6456F4 #F45697 #E6F456 #56F4B3
split-complementary
#6456F4 #F4B356 #97F456
monochromatic
#1D0DC3 #2F1DF0 #6456F4 #998FF8 #CDC9FB

Accessibility & contrast

On white

5.02
#6456F4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#6456F4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6456F4
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6456F4#FFFFFF#000000##FFFFFF
##6456F41.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F9
Deuteranopia (green-blind)
#0069F1
Tritanopia (blue-blind)
#007E9E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6456f4;
/* rgb */ color: rgb(100, 86, 244);
/* oklch */ color: oklch(56.2% 0.227 280.2);
Tailwind
colors: {
  custom: {
    50: '#9e87f9',
    500: '#6456f4',
    950: '#000000',
  },
}
SCSS
$custom: #6456f4;
$custom-light: #9e87f9;
$custom-dark: #000000;
JSON
{
  "hex": "#6456f4",
  "rgb": {
    "r": 100,
    "g": 86,
    "b": 244
  },
  "hsl": {
    "h": 245.316,
    "s": 87.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.56236,
    "c": 0.22667,
    "h": 280.2
  },
  "luminance": 0.15897
}

Semantic roles & 50–950 ramp

primary
#6456F4
secondary
#E9EEB8
accent
#E401D0
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6456F4

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

Preview Lab → · Contrast checker → · Palette generator →

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