#523FB5#523FB5

#523FB5 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 46.0% C 0.178 H 284.3°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#523FB5
RGBrgb(82, 63, 181)
HSLhsl(250, 48%, 48%)
HSVhsv(250, 65%, 71%)
CMYKcmyk(54.7%, 65.2%, 0%, 29%)
CIE-LABlab(35.37, 40.07, -60.04)
CIE-LCHlch(35.37, 72.18, 303.72°)
OKLaboklab(45.99% 0.0439 -0.1725)
OKLCHoklch(45.99% 0.178 284.3)
XYZxyz(13.5951, 8.6843, 44.6670)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523FB5 #A2B53F
analogous
#3F67B5 #523FB5 #8D3FB5
triadic
#523FB5 #B5523F #3FB552
tetradic
#523FB5 #B53F67 #A2B53F #3FB58D
square
#523FB5 #B53F67 #A2B53F #3FB58D
split-complementary
#523FB5 #B58D3F #67B53F
monochromatic
#291F5A #3D2F88 #523FB5 #7767CA #A094DA

Accessibility & contrast

On white

7.67
#523FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#523FB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523FB5
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523FB5#FFFFFF#000000##FFFFFF
##523FB51.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B9
Deuteranopia (green-blind)
#004FB3
Tritanopia (blue-blind)
#265C74
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #523fb5;
/* rgb */ color: rgb(82, 63, 181);
/* oklch */ color: oklch(46.0% 0.178 284.3);
Tailwind
colors: {
  custom: {
    50: '#8c75cc',
    500: '#523fb5',
    950: '#000000',
  },
}
SCSS
$custom: #523fb5;
$custom-light: #8c75cc;
$custom-dark: #000000;
JSON
{
  "hex": "#523fb5",
  "rgb": {
    "r": 82,
    "g": 63,
    "b": 181
  },
  "hsl": {
    "h": 249.661,
    "s": 48.361,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45985,
    "c": 0.17797,
    "h": 284.3
  },
  "luminance": 0.08685
}

Semantic roles & 50–950 ramp

primary
#523FB5
secondary
#BCC58A
accent
#D850C2
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #523FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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