#757EF5#757EF5

#757EF5 is a light, vivid blue. Relative luminance 0.253; OKLCH L 64.4% C 0.175 H 277.0°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#757EF5
RGBrgb(117, 126, 245)
HSLhsl(236, 86%, 71%)
HSVhsv(236, 52%, 96%)
CMYKcmyk(52.2%, 48.6%, 0%, 3.9%)
CIE-LABlab(57.36, 28.97, -60.94)
CIE-LCHlch(57.36, 67.47, 295.43°)
OKLaboklab(64.37% 0.0214 -0.1737)
OKLCHoklch(64.37% 0.175 277)
XYZxyz(31.2732, 25.2942, 89.6029)
Luminance0.2530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757EF5 #F5EC75
analogous
#75BEF5 #757EF5 #AC75F5
triadic
#757EF5 #F5757E #7EF575
tetradic
#757EF5 #F575BE #F5EC75 #75F5AC
square
#757EF5 #F575BE #F5EC75 #75F5AC
split-complementary
#757EF5 #F5AC75 #BEF575
monochromatic
#101FDF #3C49F1 #757EF5 #AEB3F9 #E2E4FD

Accessibility & contrast

On white

3.47
#757EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#757EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #757EF5
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757EF5#FFFFFF#000000##000000
##757EF51.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#458FF9
Deuteranopia (green-blind)
#3685F2
Tritanopia (blue-blind)
#3B98AE
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #757ef5;
/* rgb */ color: rgb(117, 126, 245);
/* oklch */ color: oklch(64.4% 0.175 277.0);
Tailwind
colors: {
  custom: {
    50: '#a5a3f9',
    500: '#757ef5',
    950: '#000000',
  },
}
SCSS
$custom: #757ef5;
$custom-light: #a5a3f9;
$custom-dark: #000000;
JSON
{
  "hex": "#757ef5",
  "rgb": {
    "r": 117,
    "g": 126,
    "b": 245
  },
  "hsl": {
    "h": 235.781,
    "s": 86.486,
    "l": 70.98
  },
  "oklch": {
    "l": 0.64365,
    "c": 0.17506,
    "h": 277
  },
  "luminance": 0.25296
}

Semantic roles & 50–950 ramp

primary
#757EF5
secondary
#F4F2D2
accent
#D302E3
background
#FAFAFF
surface
#F4F3FF
border
#CECDD7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #757EF5

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

Preview Lab → · Contrast checker → · Palette generator →

#757EF5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva