#523FB3#523FB3

#523FB3 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.8% C 0.175 H 284.6°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#523FB3
RGBrgb(82, 63, 179)
HSLhsl(250, 48%, 47%)
HSVhsv(250, 65%, 70%)
CMYKcmyk(54.2%, 64.8%, 0%, 29.8%)
CIE-LABlab(35.21, 39.45, -59.12)
CIE-LCHlch(35.21, 71.07, 303.72°)
OKLaboklab(45.82% 0.0442 -0.1698)
OKLCHoklch(45.82% 0.175 284.6)
XYZxyz(13.3914, 8.6028, 43.5940)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523FB3 #A0B33F
analogous
#3F66B3 #523FB3 #8C3FB3
triadic
#523FB3 #B3523F #3FB352
tetradic
#523FB3 #B33F66 #A0B33F #3FB38C
square
#523FB3 #B33F66 #A0B33F #3FB38C
split-complementary
#523FB3 #B38C3F #66B33F
monochromatic
#291F58 #3D2F86 #523FB3 #7666C9 #9F93D9

Accessibility & contrast

On white

7.72
#523FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#523FB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523FB3
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523FB3#FFFFFF#000000##FFFFFF
##523FB31.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#004FB1
Tritanopia (blue-blind)
#285C73
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #523fb3;
/* rgb */ color: rgb(82, 63, 179);
/* oklch */ color: oklch(45.8% 0.175 284.6);
Tailwind
colors: {
  custom: {
    50: '#8c75cb',
    500: '#523fb3',
    950: '#000000',
  },
}
SCSS
$custom: #523fb3;
$custom-light: #8c75cb;
$custom-dark: #000000;
JSON
{
  "hex": "#523fb3",
  "rgb": {
    "r": 82,
    "g": 63,
    "b": 179
  },
  "hsl": {
    "h": 249.828,
    "s": 47.934,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45818,
    "c": 0.1754,
    "h": 284.6
  },
  "luminance": 0.08604
}

Semantic roles & 50–950 ramp

primary
#523FB3
secondary
#BBC489
accent
#D850C1
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #523FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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