#6457E4#6457E4

#6457E4 is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 55.1% C 0.206 H 281.4°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#6457E4
RGBrgb(100, 87, 228)
HSLhsl(246, 72%, 62%)
HSVhsv(246, 62%, 89%)
CMYKcmyk(56.1%, 61.8%, 0%, 10.6%)
CIE-LABlab(45.81, 43.64, -70.15)
CIE-LCHlch(45.81, 82.62, 301.89°)
OKLaboklab(55.1% 0.0407 -0.2016)
OKLCHoklch(55.1% 0.206 281.4)
XYZxyz(22.6630, 15.1257, 75.1091)
Luminance0.1513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6457E4 #D7E457
analogous
#5791E4 #6457E4 #AB57E4
triadic
#6457E4 #E46457 #57E464
tetradic
#6457E4 #E45791 #D7E457 #57E4AB
square
#6457E4 #E45791 #D7E457 #57E4AB
split-complementary
#6457E4 #E4AB57 #91E457
monochromatic
#281BA6 #3423DB #6457E4 #958CEC #C5C0F5

Accessibility & contrast

On white

5.22
#6457E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#6457E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6457E4
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6457E4#FFFFFF#000000##FFFFFF
##6457E41.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E9
Deuteranopia (green-blind)
#0067E1
Tritanopia (blue-blind)
#1F7A95
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6457e4;
/* rgb */ color: rgb(100, 87, 228);
/* oklch */ color: oklch(55.1% 0.206 281.4);
Tailwind
colors: {
  custom: {
    50: '#9b87ed',
    500: '#6457e4',
    950: '#000000',
  },
}
SCSS
$custom: #6457e4;
$custom-light: #9b87ed;
$custom-dark: #000000;
JSON
{
  "hex": "#6457e4",
  "rgb": {
    "r": 100,
    "g": 87,
    "b": 228
  },
  "hsl": {
    "h": 245.532,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.55098,
    "c": 0.20564,
    "h": 281.4
  },
  "luminance": 0.15127
}

Semantic roles & 50–950 ramp

primary
#6457E4
secondary
#E1E6B1
accent
#D411C2
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6457E4

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

Preview Lab → · Contrast checker → · Palette generator →

#6457E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva