#524EB7#524EB7

#524EB7 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.7% C 0.161 H 280.3°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#524EB7
RGBrgb(82, 78, 183)
HSLhsl(242, 42%, 51%)
HSVhsv(242, 57%, 72%)
CMYKcmyk(55.2%, 57.4%, 0%, 28.2%)
CIE-LABlab(39.00, 31.60, -55.32)
CIE-LCHlch(39.00, 63.71, 299.74°)
OKLaboklab(48.7% 0.0288 -0.1585)
OKLCHoklch(48.7% 0.161 280.3)
XYZxyz(14.7486, 10.6606, 46.0711)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524EB7 #B3B74E
analogous
#4E7EB7 #524EB7 #864EB7
triadic
#524EB7 #B7524E #4EB752
tetradic
#524EB7 #B74E7E #B3B74E #4EB786
square
#524EB7 #B74E7E #B3B74E #4EB786
split-complementary
#524EB7 #B7864E #7EB74E
monochromatic
#2A2863 #3D3A8E #524EB7 #7D7AC9 #A7A5DA

Accessibility & contrast

On white

6.70
#524EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#524EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524EB7
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524EB7#FFFFFF#000000##FFFFFF
##524EB71.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BB
Deuteranopia (green-blind)
#0058B5
Tritanopia (blue-blind)
#21667B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #524eb7;
/* rgb */ color: rgb(82, 78, 183);
/* oklch */ color: oklch(48.7% 0.161 280.3);
Tailwind
colors: {
  custom: {
    50: '#8b80cd',
    500: '#524eb7',
    950: '#000000',
  },
}
SCSS
$custom: #524eb7;
$custom-light: #8b80cd;
$custom-dark: #000000;
JSON
{
  "hex": "#524eb7",
  "rgb": {
    "r": 82,
    "g": 78,
    "b": 183
  },
  "hsl": {
    "h": 242.286,
    "s": 42.169,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48697,
    "c": 0.16109,
    "h": 280.3
  },
  "luminance": 0.10662
}

Semantic roles & 50–950 ramp

primary
#524EB7
secondary
#C6C899
accent
#D256CD
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #524EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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