#6B57EB#6B57EB

#6B57EB is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 56.2% C 0.213 H 283.3°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#6B57EB
RGBrgb(107, 87, 235)
HSLhsl(248, 79%, 63%)
HSVhsv(248, 63%, 92%)
CMYKcmyk(54.5%, 63%, 0%, 7.8%)
CIE-LABlab(46.89, 46.95, -72.31)
CIE-LCHlch(46.89, 86.21, 303.00°)
OKLaboklab(56.2% 0.049 -0.2077)
OKLCHoklch(56.2% 0.213 283.3)
XYZxyz(24.4624, 15.9389, 80.3687)
Luminance0.1594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B57EB #D7EB57
analogous
#578DEB #6B57EB #B557EB
triadic
#6B57EB #EB6B57 #57EB6B
tetradic
#6B57EB #EB578D #D7EB57 #57EBB5
square
#6B57EB #EB578D #D7EB57 #57EBB5
split-complementary
#6B57EB #EBB557 #8DEB57
monochromatic
#2A15B2 #3B20E4 #6B57EB #9B8EF2 #CBC4F8

Accessibility & contrast

On white

5.01
#6B57EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#6B57EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B57EB
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B57EB#FFFFFF#000000##FFFFFF
##6B57EB1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b57eb;
/* rgb */ color: rgb(107, 87, 235);
/* oklch */ color: oklch(56.2% 0.213 283.3);
Tailwind
colors: {
  custom: {
    50: '#a087f2',
    500: '#6b57eb',
    950: '#000000',
  },
}
SCSS
$custom: #6b57eb;
$custom-light: #a087f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b57eb",
  "rgb": {
    "r": 107,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 248.108,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.56197,
    "c": 0.21339,
    "h": 283.3
  },
  "luminance": 0.1594
}

Semantic roles & 50–950 ramp

primary
#6B57EB
secondary
#E2E9B4
accent
#DB0ABF
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6B57EB

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

Preview Lab → · Contrast checker → · Palette generator →

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