#6757EC#6757EC

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

Color values

HEX#6757EC
RGBrgb(103, 87, 236)
HSLhsl(246, 80%, 63%)
HSVhsv(246, 63%, 93%)
CMYKcmyk(56.4%, 63.1%, 0%, 7.5%)
CIE-LABlab(46.65, 46.58, -73.28)
CIE-LCHlch(46.65, 86.84, 302.44°)
OKLaboklab(55.96% 0.0438 -0.2107)
OKLCHoklch(55.96% 0.215 281.8)
XYZxyz(24.1373, 15.7545, 81.1096)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6757EC #DCEC57
analogous
#5791EC #6757EC #B157EC
triadic
#6757EC #EC6757 #57EC67
tetradic
#6757EC #EC5791 #DCEC57 #57ECB1
square
#6757EC #EC5791 #DCEC57 #57ECB1
split-complementary
#6757EC #ECB157 #91EC57
monochromatic
#2614B4 #3520E6 #6757EC #998EF2 #CAC5F8

Accessibility & contrast

On white

5.06
#6757EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#6757EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6757EC
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6757EC#FFFFFF#000000##FFFFFF
##6757EC1.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)
#0074F1
Deuteranopia (green-blind)
#0069E9
Tritanopia (blue-blind)
#1E7C9A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6757ec;
/* rgb */ color: rgb(103, 87, 236);
/* oklch */ color: oklch(56.0% 0.215 281.8);
Tailwind
colors: {
  custom: {
    50: '#9e87f3',
    500: '#6757ec',
    950: '#000000',
  },
}
SCSS
$custom: #6757ec;
$custom-light: #9e87f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6757ec",
  "rgb": {
    "r": 103,
    "g": 87,
    "b": 236
  },
  "hsl": {
    "h": 246.443,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.55964,
    "c": 0.21518,
    "h": 281.8
  },
  "luminance": 0.15756
}

Semantic roles & 50–950 ramp

primary
#6757EC
secondary
#E4EAB5
accent
#DC0AC5
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6757EC

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

Preview Lab → · Contrast checker → · Palette generator →

#6757EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva