#524CCF#524CCF

#524CCF is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.3% C 0.195 H 278.7°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#524CCF
RGBrgb(82, 76, 207)
HSLhsl(243, 58%, 55%)
HSVhsv(243, 63%, 81%)
CMYKcmyk(60.4%, 63.3%, 0%, 18.8%)
CIE-LABlab(40.36, 40.58, -67.10)
CIE-LCHlch(40.36, 78.41, 301.16°)
OKLaboklab(50.26% 0.0297 -0.1931)
OKLCHoklch(50.26% 0.195 278.7)
XYZxyz(17.3230, 11.4664, 60.3198)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524CCF #C9CF4C
analogous
#4C87CF #524CCF #934CCF
triadic
#524CCF #CF524C #4CCF52
tetradic
#524CCF #CF4C87 #C9CF4C #4CCF93
square
#524CCF #CF4C87 #C9CF4C #4CCF93
split-complementary
#524CCF #CF934C #87CF4C
monochromatic
#26227F #352FAF #524CCF #817CDC #AFADE9

Accessibility & contrast

On white

6.38
#524CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#524CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524CCF
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524CCF#FFFFFF#000000##FFFFFF
##524CCF1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#005ACC
Tritanopia (blue-blind)
#006D86
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #524ccf;
/* rgb */ color: rgb(82, 76, 207);
/* oklch */ color: oklch(50.3% 0.195 278.7);
Tailwind
colors: {
  custom: {
    50: '#8f7fdf',
    500: '#524ccf',
    950: '#000000',
  },
}
SCSS
$custom: #524ccf;
$custom-light: #8f7fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#524ccf",
  "rgb": {
    "r": 82,
    "g": 76,
    "b": 207
  },
  "hsl": {
    "h": 242.748,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.50264,
    "c": 0.19541,
    "h": 278.7
  },
  "luminance": 0.11468
}

Semantic roles & 50–950 ramp

primary
#524CCF
secondary
#D4D7A0
accent
#E147DA
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #524CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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