#524ECF#524ECF

#524ECF is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.6% C 0.193 H 278.3°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#524ECF
RGBrgb(82, 78, 207)
HSLhsl(242, 57%, 56%)
HSVhsv(242, 62%, 81%)
CMYKcmyk(60.4%, 62.3%, 0%, 18.8%)
CIE-LABlab(40.81, 39.38, -66.35)
CIE-LCHlch(40.81, 77.16, 300.69°)
OKLaboklab(50.6% 0.028 -0.1909)
OKLCHoklch(50.6% 0.193 278.3)
XYZxyz(17.4629, 11.7463, 60.3664)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524ECF #CBCF4E
analogous
#4E8BCF #524ECF #924ECF
triadic
#524ECF #CF524E #4ECF52
tetradic
#524ECF #CF4E8B #CBCF4E #4ECF92
square
#524ECF #CF4E8B #CBCF4E #4ECF92
split-complementary
#524ECF #CF924E #8BCF4E
monochromatic
#262380 #3430B0 #524ECF #817EDC #B0AEE9

Accessibility & contrast

On white

6.27
#524ECF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#524ECF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524ECF
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524ECF#FFFFFF#000000##FFFFFF
##524ECF1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D3
Deuteranopia (green-blind)
#005BCC
Tritanopia (blue-blind)
#006E87
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #524ecf;
/* rgb */ color: rgb(82, 78, 207);
/* oklch */ color: oklch(50.6% 0.193 278.3);
Tailwind
colors: {
  custom: {
    50: '#8f80df',
    500: '#524ecf',
    950: '#000000',
  },
}
SCSS
$custom: #524ecf;
$custom-light: #8f80df;
$custom-dark: #000000;
JSON
{
  "hex": "#524ecf",
  "rgb": {
    "r": 82,
    "g": 78,
    "b": 207
  },
  "hsl": {
    "h": 241.86,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.50596,
    "c": 0.19299,
    "h": 278.3
  },
  "luminance": 0.11748
}

Semantic roles & 50–950 ramp

primary
#524ECF
secondary
#D5D7A2
accent
#E147DC
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #524ECF

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

Preview Lab → · Contrast checker → · Palette generator →

#524ECF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva