#523FB9#523FB9

#523FB9 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.3% C 0.183 H 283.7°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#523FB9
RGBrgb(82, 63, 185)
HSLhsl(249, 49%, 49%)
HSVhsv(249, 66%, 73%)
CMYKcmyk(55.7%, 65.9%, 0%, 27.5%)
CIE-LABlab(35.70, 41.31, -61.87)
CIE-LCHlch(35.70, 74.39, 303.73°)
OKLaboklab(46.32% 0.0435 -0.1778)
OKLCHoklch(46.32% 0.183 283.7)
XYZxyz(14.0115, 8.8508, 46.8596)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523FB9 #A6B93F
analogous
#3F69B9 #523FB9 #8F3FB9
triadic
#523FB9 #B9523F #3FB952
tetradic
#523FB9 #B93F69 #A6B93F #3FB98F
square
#523FB9 #B93F69 #A6B93F #3FB98F
split-complementary
#523FB9 #B98F3F #69B93F
monochromatic
#2A205E #3E2F8B #523FB9 #7969CC #A297DC

Accessibility & contrast

On white

7.58
#523FB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#523FB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523FB9
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523FB9#FFFFFF#000000##FFFFFF
##523FB91.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BD
Deuteranopia (green-blind)
#0050B7
Tritanopia (blue-blind)
#215E76
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #523fb9;
/* rgb */ color: rgb(82, 63, 185);
/* oklch */ color: oklch(46.3% 0.183 283.7);
Tailwind
colors: {
  custom: {
    50: '#8d75cf',
    500: '#523fb9',
    950: '#000000',
  },
}
SCSS
$custom: #523fb9;
$custom-light: #8d75cf;
$custom-dark: #000000;
JSON
{
  "hex": "#523fb9",
  "rgb": {
    "r": 82,
    "g": 63,
    "b": 185
  },
  "hsl": {
    "h": 249.344,
    "s": 49.194,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46323,
    "c": 0.18307,
    "h": 283.7
  },
  "luminance": 0.08852
}

Semantic roles & 50–950 ramp

primary
#523FB9
secondary
#BEC78D
accent
#D94FC3
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #523FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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