#757CEF#757CEF

#757CEF is a light, vivid blue. Relative luminance 0.244; OKLCH L 63.6% C 0.170 H 277.8°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#757CEF
RGBrgb(117, 124, 239)
HSLhsl(237, 79%, 70%)
HSVhsv(237, 51%, 94%)
CMYKcmyk(51%, 48.1%, 0%, 6.3%)
CIE-LABlab(56.51, 28.32, -58.97)
CIE-LCHlch(56.51, 65.42, 295.66°)
OKLaboklab(63.61% 0.023 -0.168)
OKLCHoklch(63.61% 0.17 277.8)
XYZxyz(30.1189, 24.4274, 84.7725)
Luminance0.2443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757CEF #EFE875
analogous
#75B9EF #757CEF #AB75EF
triadic
#757CEF #EF757C #7CEF75
tetradic
#757CEF #EF75B9 #EFE875 #75EFAB
square
#757CEF #EF75B9 #EFE875 #75EFAB
split-complementary
#757CEF #EFAB75 #B9EF75
monochromatic
#1823D1 #3E48E9 #757CEF #ACB0F5 #E3E4FC

Accessibility & contrast

On white

3.57
#757CEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#757CEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #757CEF
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757CEF#FFFFFF#000000##000000
##757CEF1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#478DF3
Deuteranopia (green-blind)
#3A83ED
Tritanopia (blue-blind)
#4195AA
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #757cef;
/* rgb */ color: rgb(117, 124, 239);
/* oklch */ color: oklch(63.6% 0.170 277.8);
Tailwind
colors: {
  custom: {
    50: '#a4a1f5',
    500: '#757cef',
    950: '#000000',
  },
}
SCSS
$custom: #757cef;
$custom-light: #a4a1f5;
$custom-dark: #000000;
JSON
{
  "hex": "#757cef",
  "rgb": {
    "r": 117,
    "g": 124,
    "b": 239
  },
  "hsl": {
    "h": 236.557,
    "s": 79.221,
    "l": 69.804
  },
  "oklch": {
    "l": 0.63611,
    "c": 0.16954,
    "h": 277.8
  },
  "luminance": 0.24429
}

Semantic roles & 50–950 ramp

primary
#757CEF
secondary
#F1EFCF
accent
#CF0ADC
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100F17
muted
#7F7E85

Preview Lab

Preview with #757CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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