#524BB3#524BB3

#524BB3 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.9% C 0.160 H 281.5°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#524BB3
RGBrgb(82, 75, 179)
HSLhsl(244, 41%, 50%)
HSVhsv(244, 58%, 70%)
CMYKcmyk(54.2%, 58.1%, 0%, 29.8%)
CIE-LABlab(37.99, 32.18, -54.61)
CIE-LCHlch(37.99, 63.38, 300.51°)
OKLaboklab(47.85% 0.0319 -0.1564)
OKLCHoklch(47.85% 0.16 281.5)
XYZxyz(14.1299, 10.0798, 43.8401)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524BB3 #ACB34B
analogous
#4B78B3 #524BB3 #864BB3
triadic
#524BB3 #B3524B #4BB352
tetradic
#524BB3 #B34B78 #ACB34B #4BB386
square
#524BB3 #B34B78 #ACB34B #4BB386
split-complementary
#524BB3 #B3864B #78B34B
monochromatic
#2A275D #3E3988 #524BB3 #7B76C5 #A5A1D8

Accessibility & contrast

On white

6.96
#524BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#524BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524BB3
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524BB3#FFFFFF#000000##FFFFFF
##524BB31.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#0056B1
Tritanopia (blue-blind)
#276377
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #524bb3;
/* rgb */ color: rgb(82, 75, 179);
/* oklch */ color: oklch(47.9% 0.160 281.5);
Tailwind
colors: {
  custom: {
    50: '#8b7dca',
    500: '#524bb3',
    950: '#000000',
  },
}
SCSS
$custom: #524bb3;
$custom-light: #8b7dca;
$custom-dark: #000000;
JSON
{
  "hex": "#524bb3",
  "rgb": {
    "r": 82,
    "g": 75,
    "b": 179
  },
  "hsl": {
    "h": 244.038,
    "s": 40.945,
    "l": 49.804
  },
  "oklch": {
    "l": 0.47853,
    "c": 0.15967,
    "h": 281.5
  },
  "luminance": 0.10081
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #524BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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