#757EC7#757EC7

#757EC7 is a mid, moderate blue. Relative luminance 0.228; OKLCH L 61.7% C 0.111 H 277.3°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#757EC7
RGBrgb(117, 126, 199)
HSLhsl(233, 42%, 62%)
HSVhsv(233, 41%, 78%)
CMYKcmyk(41.2%, 36.7%, 0%, 22%)
CIE-LABlab(54.89, 15.23, -39.06)
CIE-LCHlch(54.89, 41.92, 291.30°)
OKLaboklab(61.68% 0.014 -0.1097)
OKLCHoklch(61.68% 0.111 277.3)
XYZxyz(25.1027, 22.8260, 57.1049)
Luminance0.2283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757EC7 #C7BE75
analogous
#75A7C7 #757EC7 #9575C7
triadic
#757EC7 #C7757E #7EC775
tetradic
#757EC7 #C775A7 #C7BE75 #75C795
square
#757EC7 #C775A7 #C7BE75 #75C795
split-complementary
#757EC7 #C79575 #A7C775
monochromatic
#38418A #4A55B5 #757EC7 #A1A7D9 #CCCFEA

Accessibility & contrast

On white

3.77
#757EC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#757EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #757EC7
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757EC7#FFFFFF#000000##000000
##757EC71.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6587CA
Deuteranopia (green-blind)
#5F80C5
Tritanopia (blue-blind)
#5B8D99
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #757ec7;
/* rgb */ color: rgb(117, 126, 199);
/* oklch */ color: oklch(61.7% 0.111 277.3);
Tailwind
colors: {
  custom: {
    50: '#a0a3d8',
    500: '#757ec7',
    950: '#000000',
  },
}
SCSS
$custom: #757ec7;
$custom-light: #a0a3d8;
$custom-dark: #000000;
JSON
{
  "hex": "#757ec7",
  "rgb": {
    "r": 117,
    "g": 126,
    "b": 199
  },
  "hsl": {
    "h": 233.415,
    "s": 42.268,
    "l": 61.961
  },
  "oklch": {
    "l": 0.61683,
    "c": 0.11062,
    "h": 277.3
  },
  "luminance": 0.22827
}

Semantic roles & 50–950 ramp

primary
#757EC7
secondary
#DBD8BD
accent
#A730B5
background
#FAFAFD
surface
#F4F3FA
border
#CECDD3
text
#0F0F14
muted
#7F7F83

Preview Lab

Preview with #757EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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