#6456E8#6456E8

#6456E8 is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.3% C 0.212 H 281.2°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#6456E8
RGBrgb(100, 86, 232)
HSLhsl(246, 76%, 62%)
HSVhsv(246, 63%, 91%)
CMYKcmyk(56.9%, 62.9%, 0%, 9%)
CIE-LABlab(45.89, 45.45, -72.27)
CIE-LCHlch(45.89, 85.38, 302.16°)
OKLaboklab(55.26% 0.0413 -0.2078)
OKLCHoklch(55.26% 0.212 281.2)
XYZxyz(23.1443, 15.1896, 78.0406)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6456E8 #DAE856
analogous
#5691E8 #6456E8 #AD56E8
triadic
#6456E8 #E86456 #56E864
tetradic
#6456E8 #E85691 #DAE856 #56E8AD
square
#6456E8 #E85691 #DAE856 #56E8AD
split-complementary
#6456E8 #E8AD56 #91E856
monochromatic
#2617AC #3320E1 #6456E8 #958CEF #C7C2F7

Accessibility & contrast

On white

5.20
#6456E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#6456E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6456E8
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6456E8#FFFFFF#000000##FFFFFF
##6456E81.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072ED
Deuteranopia (green-blind)
#0067E5
Tritanopia (blue-blind)
#177A97
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6456e8;
/* rgb */ color: rgb(100, 86, 232);
/* oklch */ color: oklch(55.3% 0.212 281.2);
Tailwind
colors: {
  custom: {
    50: '#9c86f0',
    500: '#6456e8',
    950: '#000000',
  },
}
SCSS
$custom: #6456e8;
$custom-light: #9c86f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6456e8",
  "rgb": {
    "r": 100,
    "g": 86,
    "b": 232
  },
  "hsl": {
    "h": 245.753,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.55257,
    "c": 0.21186,
    "h": 281.2
  },
  "luminance": 0.15191
}

Semantic roles & 50–950 ramp

primary
#6456E8
secondary
#E2E8B2
accent
#D80DC5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6456E8

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

Preview Lab → · Contrast checker → · Palette generator →

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