#524BE4#524BE4

#524BE4 is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 51.9% C 0.223 H 277.3°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#524BE4
RGBrgb(82, 75, 228)
HSLhsl(243, 74%, 59%)
HSVhsv(243, 67%, 89%)
CMYKcmyk(64%, 67.1%, 0%, 10.6%)
CIE-LABlab(41.88, 47.87, -76.61)
CIE-LCHlch(41.88, 90.34, 302.00°)
OKLaboklab(51.91% 0.0283 -0.2211)
OKLCHoklch(51.91% 0.223 277.3)
XYZxyz(19.9948, 12.4258, 74.7285)
Luminance0.1243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524BE4 #DDE44B
analogous
#4B91E4 #524BE4 #9F4BE4
triadic
#524BE4 #E4524B #4BE452
tetradic
#524BE4 #E44B91 #DDE44B #4BE49F
square
#524BE4 #E44B91 #DDE44B #4BE49F
split-complementary
#524BE4 #E49F4B #91E44B
monochromatic
#1E189D #2820D2 #524BE4 #8580EC #B8B5F4

Accessibility & contrast

On white

6.03
#524BE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#524BE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524BE4
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524BE4#FFFFFF#000000##FFFFFF
##524BE41.006.033.496.03
#FFFFFF6.031.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E9
Deuteranopia (green-blind)
#005CE1
Tritanopia (blue-blind)
#007491
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #524be4;
/* rgb */ color: rgb(82, 75, 228);
/* oklch */ color: oklch(51.9% 0.223 277.3);
Tailwind
colors: {
  custom: {
    50: '#937eee',
    500: '#524be4',
    950: '#000000',
  },
}
SCSS
$custom: #524be4;
$custom-light: #937eee;
$custom-dark: #000000;
JSON
{
  "hex": "#524be4",
  "rgb": {
    "r": 82,
    "g": 75,
    "b": 228
  },
  "hsl": {
    "h": 242.745,
    "s": 73.913,
    "l": 59.412
  },
  "oklch": {
    "l": 0.51913,
    "c": 0.22287,
    "h": 277.3
  },
  "luminance": 0.12427
}

Semantic roles & 50–950 ramp

primary
#524BE4
secondary
#E0E3A8
accent
#F137E8
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #524BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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