#757EC2#757EC2

#757EC2 is a mid, moderate blue. Relative luminance 0.226; OKLCH L 61.4% C 0.103 H 277.2°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#757EC2
RGBrgb(117, 126, 194)
HSLhsl(233, 39%, 61%)
HSVhsv(233, 40%, 76%)
CMYKcmyk(39.7%, 35.1%, 0%, 23.9%)
CIE-LABlab(54.66, 13.80, -36.59)
CIE-LCHlch(54.66, 39.10, 290.66°)
OKLaboklab(61.42% 0.0129 -0.1025)
OKLCHoklch(61.42% 0.103 277.2)
XYZxyz(24.5317, 22.5976, 54.0977)
Luminance0.2260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757EC2 #C2B975
analogous
#75A4C2 #757EC2 #9275C2
triadic
#757EC2 #C2757E #7EC275
tetradic
#757EC2 #C275A4 #C2B975 #75C292
square
#757EC2 #C275A4 #C2B975 #75C292
split-complementary
#757EC2 #C29275 #A4C275
monochromatic
#3A4283 #4D58AD #757EC2 #9FA6D5 #CACDE8

Accessibility & contrast

On white

3.80
#757EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#757EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #757EC2
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757EC2#FFFFFF#000000##000000
##757EC21.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6786C5
Deuteranopia (green-blind)
#6280C0
Tritanopia (blue-blind)
#5E8B97
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #757ec2;
/* rgb */ color: rgb(117, 126, 194);
/* oklch */ color: oklch(61.4% 0.103 277.2);
Tailwind
colors: {
  custom: {
    50: '#a0a3d4',
    500: '#757ec2',
    950: '#000000',
  },
}
SCSS
$custom: #757ec2;
$custom-light: #a0a3d4;
$custom-dark: #000000;
JSON
{
  "hex": "#757ec2",
  "rgb": {
    "r": 117,
    "g": 126,
    "b": 194
  },
  "hsl": {
    "h": 232.987,
    "s": 38.693,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61422,
    "c": 0.10335,
    "h": 277.2
  },
  "luminance": 0.22599
}

Semantic roles & 50–950 ramp

primary
#757EC2
secondary
#D8D5BB
accent
#A334B2
background
#FAFAFD
surface
#F3F3FA
border
#CDCDD3
text
#0F0F14
muted
#7F7F83

Preview Lab

Preview with #757EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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