#6456EC#6456EC

#6456EC is a mid, highly saturated blue. Relative luminance 0.154; OKLCH L 55.6% C 0.217 H 280.9°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#6456EC
RGBrgb(100, 86, 236)
HSLhsl(246, 80%, 63%)
HSVhsv(246, 64%, 93%)
CMYKcmyk(57.6%, 63.6%, 0%, 7.5%)
CIE-LABlab(46.20, 46.67, -74.02)
CIE-LCHlch(46.20, 87.51, 302.23°)
OKLaboklab(55.58% 0.041 -0.2129)
OKLCHoklch(55.58% 0.217 280.9)
XYZxyz(23.7189, 15.4194, 81.0670)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6456EC #DEEC56
analogous
#5693EC #6456EC #AF56EC
triadic
#6456EC #EC6456 #56EC64
tetradic
#6456EC #EC5693 #DEEC56 #56ECAF
square
#6456EC #EC5693 #DEEC56 #56ECAF
split-complementary
#6456EC #ECAF56 #93EC56
monochromatic
#2314B3 #321FE6 #6456EC #968DF2 #C9C4F8

Accessibility & contrast

On white

5.14
#6456EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#6456EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6456EC
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6456EC#FFFFFF#000000##FFFFFF
##6456EC1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F1
Deuteranopia (green-blind)
#0068E9
Tritanopia (blue-blind)
#0A7C99
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6456ec;
/* rgb */ color: rgb(100, 86, 236);
/* oklch */ color: oklch(55.6% 0.217 280.9);
Tailwind
colors: {
  custom: {
    50: '#9d87f3',
    500: '#6456ec',
    950: '#000000',
  },
}
SCSS
$custom: #6456ec;
$custom-light: #9d87f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6456ec",
  "rgb": {
    "r": 100,
    "g": 86,
    "b": 236
  },
  "hsl": {
    "h": 245.6,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.5558,
    "c": 0.21684,
    "h": 280.9
  },
  "luminance": 0.15421
}

Semantic roles & 50–950 ramp

primary
#6456EC
secondary
#E5EAB4
accent
#DC09C8
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6456EC

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

Preview Lab → · Contrast checker → · Palette generator →

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