#523FB4#523FB4

#523FB4 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.9% C 0.177 H 284.4°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#523FB4
RGBrgb(82, 63, 180)
HSLhsl(250, 48%, 48%)
HSVhsv(250, 65%, 71%)
CMYKcmyk(54.4%, 65%, 0%, 29.4%)
CIE-LABlab(35.29, 39.76, -59.58)
CIE-LCHlch(35.29, 71.63, 303.72°)
OKLaboklab(45.9% 0.0441 -0.1711)
OKLCHoklch(45.9% 0.177 284.4)
XYZxyz(13.4929, 8.6434, 44.1285)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523FB4 #A1B43F
analogous
#3F66B4 #523FB4 #8D3FB4
triadic
#523FB4 #B4523F #3FB452
tetradic
#523FB4 #B43F66 #A1B43F #3FB48D
square
#523FB4 #B43F66 #A1B43F #3FB48D
split-complementary
#523FB4 #B48D3F #66B43F
monochromatic
#291F59 #3D2F87 #523FB4 #7767CA #9F94DA

Accessibility & contrast

On white

7.70
#523FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#523FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523FB4
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523FB4#FFFFFF#000000##FFFFFF
##523FB41.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B8
Deuteranopia (green-blind)
#004FB2
Tritanopia (blue-blind)
#275C74
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #523fb4;
/* rgb */ color: rgb(82, 63, 180);
/* oklch */ color: oklch(45.9% 0.177 284.4);
Tailwind
colors: {
  custom: {
    50: '#8c75cb',
    500: '#523fb4',
    950: '#000000',
  },
}
SCSS
$custom: #523fb4;
$custom-light: #8c75cb;
$custom-dark: #000000;
JSON
{
  "hex": "#523fb4",
  "rgb": {
    "r": 82,
    "g": 63,
    "b": 180
  },
  "hsl": {
    "h": 249.744,
    "s": 48.148,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45901,
    "c": 0.17668,
    "h": 284.4
  },
  "luminance": 0.08644
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #523FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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