#524BBF#524BBF

#524BBF is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.8% C 0.176 H 280.4°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#524BBF
RGBrgb(82, 75, 191)
HSLhsl(244, 48%, 52%)
HSVhsv(244, 61%, 75%)
CMYKcmyk(57.1%, 60.7%, 0%, 25.1%)
CIE-LABlab(38.88, 36.03, -60.21)
CIE-LCHlch(38.88, 70.17, 300.90°)
OKLaboklab(48.79% 0.0316 -0.1729)
OKLCHoklch(48.79% 0.176 280.4)
XYZxyz(15.3968, 10.5866, 50.5122)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524BBF #B8BF4B
analogous
#4B7EBF #524BBF #8C4BBF
triadic
#524BBF #BF524B #4BBF52
tetradic
#524BBF #BF4B7E #B8BF4B #4BBF8C
square
#524BBF #BF4B7E #B8BF4B #4BBF8C
split-complementary
#524BBF #BF8C4B #7EBF4B
monochromatic
#2A266A #3C3697 #524BBF #7D78CF #A9A5DF

Accessibility & contrast

On white

6.74
#524BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#524BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524BBF
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524BBF#FFFFFF#000000##FFFFFF
##524BBF1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#0057BD
Tritanopia (blue-blind)
#15677E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #524bbf;
/* rgb */ color: rgb(82, 75, 191);
/* oklch */ color: oklch(48.8% 0.176 280.4);
Tailwind
colors: {
  custom: {
    50: '#8d7ed3',
    500: '#524bbf',
    950: '#000000',
  },
}
SCSS
$custom: #524bbf;
$custom-light: #8d7ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#524bbf",
  "rgb": {
    "r": 82,
    "g": 75,
    "b": 191
  },
  "hsl": {
    "h": 243.621,
    "s": 47.541,
    "l": 52.157
  },
  "oklch": {
    "l": 0.48789,
    "c": 0.1758,
    "h": 280.4
  },
  "luminance": 0.10588
}

Semantic roles & 50–950 ramp

primary
#524BBF
secondary
#C9CC9A
accent
#D751CF
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #524BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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