#6456F1#6456F1

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

Color values

HEX#6456F1
RGBrgb(100, 86, 241)
HSLhsl(245, 85%, 64%)
HSVhsv(245, 64%, 95%)
CMYKcmyk(58.5%, 64.3%, 0%, 5.5%)
CIE-LABlab(46.60, 48.20, -76.19)
CIE-LCHlch(46.60, 90.16, 302.32°)
OKLaboklab(55.99% 0.0405 -0.2193)
OKLCHoklch(55.99% 0.223 280.5)
XYZxyz(24.4555, 15.7141, 84.9465)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6456F1 #E3F156
analogous
#5696F1 #6456F1 #B156F1
triadic
#6456F1 #F16456 #56F164
tetradic
#6456F1 #F15696 #E3F156 #56F1B1
square
#6456F1 #F15696 #E3F156 #56F1B1
split-complementary
#6456F1 #F1B156 #96F156
monochromatic
#1F10BD #301DEC #6456F1 #988FF6 #CCC7FA

Accessibility & contrast

On white

5.07
#6456F1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#6456F1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6456F1
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6456F1#FFFFFF#000000##FFFFFF
##6456F11.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F6
Deuteranopia (green-blind)
#0069EE
Tritanopia (blue-blind)
#007D9C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6456f1;
/* rgb */ color: rgb(100, 86, 241);
/* oklch */ color: oklch(56.0% 0.223 280.5);
Tailwind
colors: {
  custom: {
    50: '#9d87f7',
    500: '#6456f1',
    950: '#000000',
  },
}
SCSS
$custom: #6456f1;
$custom-light: #9d87f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6456f1",
  "rgb": {
    "r": 100,
    "g": 86,
    "b": 241
  },
  "hsl": {
    "h": 245.419,
    "s": 84.699,
    "l": 64.118
  },
  "oklch": {
    "l": 0.55988,
    "c": 0.223,
    "h": 280.5
  },
  "luminance": 0.15716
}

Semantic roles & 50–950 ramp

primary
#6456F1
secondary
#E8ECB6
accent
#E104CD
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6456F1

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

Preview Lab → · Contrast checker → · Palette generator →

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