#523FBA#523FBA

#523FBA is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.4% C 0.184 H 283.6°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#523FBA
RGBrgb(82, 63, 186)
HSLhsl(249, 49%, 49%)
HSVhsv(249, 66%, 73%)
CMYKcmyk(55.9%, 66.1%, 0%, 27.1%)
CIE-LABlab(35.78, 41.61, -62.32)
CIE-LCHlch(35.78, 74.94, 303.73°)
OKLaboklab(46.41% 0.0434 -0.1792)
OKLCHoklch(46.41% 0.184 283.6)
XYZxyz(14.1174, 8.8932, 47.4175)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523FBA #A7BA3F
analogous
#3F6ABA #523FBA #903FBA
triadic
#523FBA #BA523F #3FBA52
tetradic
#523FBA #BA3F6A #A7BA3F #3FBA90
square
#523FBA #BA3F6A #A7BA3F #3FBA90
split-complementary
#523FBA #BA903F #6ABA3F
monochromatic
#2A205F #3E308C #523FBA #796ACC #A297DC

Accessibility & contrast

On white

7.56
#523FBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#523FBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523FBA
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523FBA#FFFFFF#000000##FFFFFF
##523FBA1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BE
Deuteranopia (green-blind)
#0050B8
Tritanopia (blue-blind)
#205E77
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #523fba;
/* rgb */ color: rgb(82, 63, 186);
/* oklch */ color: oklch(46.4% 0.184 283.6);
Tailwind
colors: {
  custom: {
    50: '#8d75d0',
    500: '#523fba',
    950: '#000000',
  },
}
SCSS
$custom: #523fba;
$custom-light: #8d75d0;
$custom-dark: #000000;
JSON
{
  "hex": "#523fba",
  "rgb": {
    "r": 82,
    "g": 63,
    "b": 186
  },
  "hsl": {
    "h": 249.268,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46408,
    "c": 0.18434,
    "h": 283.6
  },
  "luminance": 0.08894
}

Semantic roles & 50–950 ramp

primary
#523FBA
secondary
#BFC88D
accent
#D94FC4
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #523FBA

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

Preview Lab → · Contrast checker → · Palette generator →

#523FBA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva