#524BEF#524BEF

#524BEF is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.9% C 0.236 H 276.5°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#524BEF
RGBrgb(82, 75, 239)
HSLhsl(243, 84%, 62%)
HSVhsv(243, 69%, 94%)
CMYKcmyk(65.7%, 68.6%, 0%, 6.3%)
CIE-LABlab(42.85, 51.33, -81.26)
CIE-LCHlch(42.85, 96.11, 302.28°)
OKLaboklab(52.9% 0.0268 -0.2346)
OKLCHoklch(52.9% 0.236 276.5)
XYZxyz(21.5707, 13.0561, 83.0280)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524BEF #E8EF4B
analogous
#4B96EF #524BEF #A44BEF
triadic
#524BEF #EF524B #4BEF52
tetradic
#524BEF #EF4B96 #E8EF4B #4BEFA4
square
#524BEF #EF4B96 #E8EF4B #4BEFA4
split-complementary
#524BEF #EFA44B #96EF4B
monochromatic
#1610B0 #1E15E8 #524BEF #8883F4 #BEBBF9

Accessibility & contrast

On white

5.81
#524BEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#524BEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524BEF
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524BEF#FFFFFF#000000##FFFFFF
##524BEF1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CF4
Deuteranopia (green-blind)
#005EEC
Tritanopia (blue-blind)
#007897
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #524bef;
/* rgb */ color: rgb(82, 75, 239);
/* oklch */ color: oklch(52.9% 0.236 276.5);
Tailwind
colors: {
  custom: {
    50: '#957ff6',
    500: '#524bef',
    950: '#000000',
  },
}
SCSS
$custom: #524bef;
$custom-light: #957ff6;
$custom-dark: #000000;
JSON
{
  "hex": "#524bef",
  "rgb": {
    "r": 82,
    "g": 75,
    "b": 239
  },
  "hsl": {
    "h": 242.561,
    "s": 83.673,
    "l": 61.569
  },
  "oklch": {
    "l": 0.529,
    "c": 0.23617,
    "h": 276.5
  },
  "luminance": 0.13058
}

Semantic roles & 50–950 ramp

primary
#524BEF
secondary
#E7E9AC
accent
#E005D7
background
#FAF7FF
surface
#F3EEFF
border
#CDC9D7
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #524BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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