#757CCC#757CCC

#757CCC is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.5% C 0.121 H 278.4°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#757CCC
RGBrgb(117, 124, 204)
HSLhsl(235, 46%, 63%)
HSVhsv(235, 43%, 80%)
CMYKcmyk(42.6%, 39.2%, 0%, 20%)
CIE-LABlab(54.61, 17.87, -42.34)
CIE-LCHlch(54.61, 45.96, 292.88°)
OKLaboklab(61.55% 0.0177 -0.1193)
OKLCHoklch(61.55% 0.121 278.4)
XYZxyz(25.4396, 22.5557, 60.1283)
Luminance0.2256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757CCC #CCC575
analogous
#75A8CC #757CCC #9975CC
triadic
#757CCC #CC757C #7CCC75
tetradic
#757CCC #CC75A8 #CCC575 #75CC99
square
#757CCC #CC75A8 #CCC575 #75CC99
split-complementary
#757CCC #CC9975 #A8CC75
monochromatic
#363D91 #4852BB #757CCC #A2A6DD #CED1ED

Accessibility & contrast

On white

3.81
#757CCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#757CCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #757CCC
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757CCC#FFFFFF#000000##000000
##757CCC1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F86CF
Deuteranopia (green-blind)
#5A7FCA
Tritanopia (blue-blind)
#598C9A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #757ccc;
/* rgb */ color: rgb(117, 124, 204);
/* oklch */ color: oklch(61.5% 0.121 278.4);
Tailwind
colors: {
  custom: {
    50: '#a0a1dc',
    500: '#757ccc',
    950: '#000000',
  },
}
SCSS
$custom: #757ccc;
$custom-light: #a0a1dc;
$custom-dark: #000000;
JSON
{
  "hex": "#757ccc",
  "rgb": {
    "r": 117,
    "g": 124,
    "b": 204
  },
  "hsl": {
    "h": 235.172,
    "s": 46.032,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61547,
    "c": 0.12058,
    "h": 278.4
  },
  "luminance": 0.22557
}

Semantic roles & 50–950 ramp

primary
#757CCC
secondary
#DEDCBF
accent
#AE2CB9
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0F15
muted
#7F7E83

Preview Lab

Preview with #757CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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