#524BCF#524BCF

#524BCF is a mid, vivid blue. Relative luminance 0.113; OKLCH L 50.1% C 0.197 H 278.9°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#524BCF
RGBrgb(82, 75, 207)
HSLhsl(243, 58%, 55%)
HSVhsv(243, 64%, 81%)
CMYKcmyk(60.4%, 63.8%, 0%, 18.8%)
CIE-LABlab(40.13, 41.17, -67.46)
CIE-LCHlch(40.13, 79.03, 301.40°)
OKLaboklab(50.1% 0.0306 -0.1942)
OKLCHoklch(50.1% 0.197 278.9)
XYZxyz(17.2546, 11.3297, 60.2970)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524BCF #C8CF4B
analogous
#4B86CF #524BCF #944BCF
triadic
#524BCF #CF524B #4BCF52
tetradic
#524BCF #CF4B86 #C8CF4B #4BCF94
square
#524BCF #CF4B86 #C8CF4B #4BCF94
split-complementary
#524BCF #CF944B #86CF4B
monochromatic
#26227E #352EAE #524BCF #807BDC #AFACE9

Accessibility & contrast

On white

6.43
#524BCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#524BCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524BCF
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524BCF#FFFFFF#000000##FFFFFF
##524BCF1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#0059CC
Tritanopia (blue-blind)
#006C86
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #524bcf;
/* rgb */ color: rgb(82, 75, 207);
/* oklch */ color: oklch(50.1% 0.197 278.9);
Tailwind
colors: {
  custom: {
    50: '#8f7edf',
    500: '#524bcf',
    950: '#000000',
  },
}
SCSS
$custom: #524bcf;
$custom-light: #8f7edf;
$custom-dark: #000000;
JSON
{
  "hex": "#524bcf",
  "rgb": {
    "r": 82,
    "g": 75,
    "b": 207
  },
  "hsl": {
    "h": 243.182,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.501,
    "c": 0.19661,
    "h": 278.9
  },
  "luminance": 0.11331
}

Semantic roles & 50–950 ramp

primary
#524BCF
secondary
#D4D69F
accent
#E147D9
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #524BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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