#6A57EB#6A57EB

#6A57EB is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 56.1% C 0.214 H 282.9°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#6A57EB
RGBrgb(106, 87, 235)
HSLhsl(248, 79%, 63%)
HSVhsv(248, 63%, 92%)
CMYKcmyk(54.9%, 63%, 0%, 7.8%)
CIE-LABlab(46.81, 46.78, -72.44)
CIE-LCHlch(46.81, 86.24, 302.85°)
OKLaboklab(56.12% 0.0477 -0.2081)
OKLCHoklch(56.12% 0.214 282.9)
XYZxyz(24.3428, 15.8772, 80.3630)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A57EB #D8EB57
analogous
#578EEB #6A57EB #B457EB
triadic
#6A57EB #EB6A57 #57EB6A
tetradic
#6A57EB #EB578E #D8EB57 #57EBB4
square
#6A57EB #EB578E #D8EB57 #57EBB4
split-complementary
#6A57EB #EBB457 #8EEB57
monochromatic
#2915B2 #3920E4 #6A57EB #9B8EF2 #CBC4F8

Accessibility & contrast

On white

5.03
#6A57EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#6A57EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A57EB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A57EB#FFFFFF#000000##FFFFFF
##6A57EB1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F0
Deuteranopia (green-blind)
#006AE8
Tritanopia (blue-blind)
#2C7C99
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6a57eb;
/* rgb */ color: rgb(106, 87, 235);
/* oklch */ color: oklch(56.1% 0.214 282.9);
Tailwind
colors: {
  custom: {
    50: '#a087f2',
    500: '#6a57eb',
    950: '#000000',
  },
}
SCSS
$custom: #6a57eb;
$custom-light: #a087f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a57eb",
  "rgb": {
    "r": 106,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 247.703,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.56118,
    "c": 0.21352,
    "h": 282.9
  },
  "luminance": 0.15879
}

Semantic roles & 50–950 ramp

primary
#6A57EB
secondary
#E3E9B4
accent
#DB0AC0
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6A57EB

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

Preview Lab → · Contrast checker → · Palette generator →

#6A57EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva