#524BB2#524BB2

#524BB2 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.8% C 0.158 H 281.6°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#524BB2
RGBrgb(82, 75, 178)
HSLhsl(244, 41%, 50%)
HSVhsv(244, 58%, 70%)
CMYKcmyk(53.9%, 57.9%, 0%, 30.2%)
CIE-LABlab(37.91, 31.86, -54.13)
CIE-LCHlch(37.91, 62.81, 300.48°)
OKLaboklab(47.78% 0.0319 -0.155)
OKLCHoklch(47.78% 0.158 281.6)
XYZxyz(14.0292, 10.0395, 43.3094)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524BB2 #ABB24B
analogous
#4B77B2 #524BB2 #864BB2
triadic
#524BB2 #B2524B #4BB252
tetradic
#524BB2 #B24B77 #ABB24B #4BB286
square
#524BB2 #B24B77 #ABB24B #4BB286
split-complementary
#524BB2 #B2864B #77B24B
monochromatic
#2A275C #3E3987 #524BB2 #7B75C5 #A4A0D7

Accessibility & contrast

On white

6.98
#524BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#524BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524BB2
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524BB2#FFFFFF#000000##FFFFFF
##524BB21.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#0056B0
Tritanopia (blue-blind)
#286377
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #524bb2;
/* rgb */ color: rgb(82, 75, 178);
/* oklch */ color: oklch(47.8% 0.158 281.6);
Tailwind
colors: {
  custom: {
    50: '#8b7dca',
    500: '#524bb2',
    950: '#000000',
  },
}
SCSS
$custom: #524bb2;
$custom-light: #8b7dca;
$custom-dark: #000000;
JSON
{
  "hex": "#524bb2",
  "rgb": {
    "r": 82,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 244.078,
    "s": 40.711,
    "l": 49.608
  },
  "oklch": {
    "l": 0.47777,
    "c": 0.1583,
    "h": 281.6
  },
  "luminance": 0.1004
}

Semantic roles & 50–950 ramp

primary
#524BB2
secondary
#C1C495
accent
#D157C8
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0D0913
muted
#7D7B82

Preview Lab

Preview with #524BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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