#6457F2#6457F2

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

Color values

HEX#6457F2
RGBrgb(100, 87, 242)
HSLhsl(245, 86%, 65%)
HSVhsv(245, 64%, 95%)
CMYKcmyk(58.7%, 64%, 0%, 5.1%)
CIE-LABlab(46.89, 47.94, -76.27)
CIE-LCHlch(46.89, 90.09, 302.15°)
OKLaboklab(56.23% 0.0395 -0.2195)
OKLCHoklch(56.23% 0.223 280.2)
XYZxyz(24.6857, 15.9348, 85.7621)
Luminance0.1594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6457F2 #E5F257
analogous
#5798F2 #6457F2 #B157F2
triadic
#6457F2 #F26457 #57F264
tetradic
#6457F2 #F25798 #E5F257 #57F2B1
square
#6457F2 #F25798 #E5F257 #57F2B1
split-complementary
#6457F2 #F2B157 #98F257
monochromatic
#1E0FC0 #301EEE #6457F2 #9890F6 #CDC9FB

Accessibility & contrast

On white

5.02
#6457F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#6457F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6457F2
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6457F2#FFFFFF#000000##FFFFFF
##6457F21.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F7
Deuteranopia (green-blind)
#0069EF
Tritanopia (blue-blind)
#007E9D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6457f2;
/* rgb */ color: rgb(100, 87, 242);
/* oklch */ color: oklch(56.2% 0.223 280.2);
Tailwind
colors: {
  custom: {
    50: '#9d87f7',
    500: '#6457f2',
    950: '#000000',
  },
}
SCSS
$custom: #6457f2;
$custom-light: #9d87f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6457f2",
  "rgb": {
    "r": 100,
    "g": 87,
    "b": 242
  },
  "hsl": {
    "h": 245.032,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.56225,
    "c": 0.22307,
    "h": 280.2
  },
  "luminance": 0.15937
}

Semantic roles & 50–950 ramp

primary
#6457F2
secondary
#E9EDB8
accent
#E203CF
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6457F2

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

Preview Lab → · Contrast checker → · Palette generator →

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