#757CCF#757CCF

#757CCF is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.7% C 0.125 H 278.4°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#757CCF
RGBrgb(117, 124, 207)
HSLhsl(235, 48%, 64%)
HSVhsv(235, 43%, 81%)
CMYKcmyk(43.5%, 40.1%, 0%, 18.8%)
CIE-LABlab(54.76, 18.74, -43.80)
CIE-LCHlch(54.76, 47.64, 293.16°)
OKLaboklab(61.71% 0.0183 -0.1235)
OKLCHoklch(61.71% 0.125 278.4)
XYZxyz(25.8029, 22.7010, 62.0415)
Luminance0.2270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757CCF #CFC875
analogous
#75A9CF #757CCF #9B75CF
triadic
#757CCF #CF757C #7CCF75
tetradic
#757CCF #CF75A9 #CFC875 #75CF9B
square
#757CCF #CF75A9 #CFC875 #75CF9B
split-complementary
#757CCF #CF9B75 #A9CF75
monochromatic
#343C96 #4851BF #757CCF #A2A7DF #D0D2EF

Accessibility & contrast

On white

3.79
#757CCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#757CCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #757CCF
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757CCF#FFFFFF#000000##000000
##757CCF1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E87D2
Deuteranopia (green-blind)
#5880CD
Tritanopia (blue-blind)
#578D9B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #757ccf;
/* rgb */ color: rgb(117, 124, 207);
/* oklch */ color: oklch(61.7% 0.125 278.4);
Tailwind
colors: {
  custom: {
    50: '#a1a1de',
    500: '#757ccf',
    950: '#000000',
  },
}
SCSS
$custom: #757ccf;
$custom-light: #a1a1de;
$custom-dark: #000000;
JSON
{
  "hex": "#757ccf",
  "rgb": {
    "r": 117,
    "g": 124,
    "b": 207
  },
  "hsl": {
    "h": 235.333,
    "s": 48.387,
    "l": 63.529
  },
  "oklch": {
    "l": 0.61713,
    "c": 0.12488,
    "h": 278.4
  },
  "luminance": 0.22702
}

Semantic roles & 50–950 ramp

primary
#757CCF
secondary
#E0DDC0
accent
#B02ABC
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0F15
muted
#7F7E83

Preview Lab

Preview with #757CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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