#6457EF#6457EF

#6457EF is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 56.0% C 0.219 H 280.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#6457EF
RGBrgb(100, 87, 239)
HSLhsl(245, 83%, 64%)
HSVhsv(245, 64%, 94%)
CMYKcmyk(58.2%, 63.6%, 0%, 6.3%)
CIE-LABlab(46.65, 47.02, -74.98)
CIE-LCHlch(46.65, 88.50, 302.09°)
OKLaboklab(55.98% 0.0398 -0.2157)
OKLCHoklch(55.98% 0.219 280.5)
XYZxyz(24.2388, 15.7560, 83.4086)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6457EF #E2EF57
analogous
#5796EF #6457EF #B057EF
triadic
#6457EF #EF6457 #57EF64
tetradic
#6457EF #EF5796 #E2EF57 #57EFB0
square
#6457EF #EF5796 #E2EF57 #57EFB0
split-complementary
#6457EF #EFB057 #96EF57
monochromatic
#2012BA #301FEA #6457EF #988FF4 #CBC7FA

Accessibility & contrast

On white

5.06
#6457EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#6457EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6457EF
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6457EF#FFFFFF#000000##FFFFFF
##6457EF1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F4
Deuteranopia (green-blind)
#0069EC
Tritanopia (blue-blind)
#007D9B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6457ef;
/* rgb */ color: rgb(100, 87, 239);
/* oklch */ color: oklch(56.0% 0.219 280.5);
Tailwind
colors: {
  custom: {
    50: '#9d87f5',
    500: '#6457ef',
    950: '#000000',
  },
}
SCSS
$custom: #6457ef;
$custom-light: #9d87f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6457ef",
  "rgb": {
    "r": 100,
    "g": 87,
    "b": 239
  },
  "hsl": {
    "h": 245.132,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.5598,
    "c": 0.21937,
    "h": 280.5
  },
  "luminance": 0.15758
}

Semantic roles & 50–950 ramp

primary
#6457EF
secondary
#E7ECB6
accent
#DF06CC
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6457EF

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

Preview Lab → · Contrast checker → · Palette generator →

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