#523EC5#523EC5

#523EC5 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 47.2% C 0.199 H 282.4°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#523EC5
RGBrgb(82, 62, 197)
HSLhsl(249, 54%, 51%)
HSVhsv(249, 69%, 77%)
CMYKcmyk(58.4%, 68.5%, 0%, 22.7%)
CIE-LABlab(36.50, 45.57, -67.60)
CIE-LCHlch(36.50, 81.52, 303.99°)
OKLaboklab(47.21% 0.0427 -0.1946)
OKLCHoklch(47.21% 0.199 282.4)
XYZxyz(15.2772, 9.2693, 53.7966)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523EC5 #B1C53E
analogous
#3E6DC5 #523EC5 #953EC5
triadic
#523EC5 #C5523E #3EC552
tetradic
#523EC5 #C53E6D #B1C53E #3EC595
square
#523EC5 #C53E6D #B1C53E #3EC595
split-complementary
#523EC5 #C5953E #6DC53E
monochromatic
#2A2069 #3D2E98 #523EC5 #7C6DD3 #A69CE1

Accessibility & contrast

On white

7.36
#523EC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#523EC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523EC5
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523EC5#FFFFFF#000000##FFFFFF
##523EC51.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC9
Deuteranopia (green-blind)
#0051C2
Tritanopia (blue-blind)
#08617D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #523ec5;
/* rgb */ color: rgb(82, 62, 197);
/* oklch */ color: oklch(47.2% 0.199 282.4);
Tailwind
colors: {
  custom: {
    50: '#8f75d8',
    500: '#523ec5',
    950: '#000000',
  },
}
SCSS
$custom: #523ec5;
$custom-light: #8f75d8;
$custom-dark: #000000;
JSON
{
  "hex": "#523ec5",
  "rgb": {
    "r": 82,
    "g": 62,
    "b": 197
  },
  "hsl": {
    "h": 248.889,
    "s": 53.785,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47214,
    "c": 0.19926,
    "h": 282.4
  },
  "luminance": 0.0927
}

Semantic roles & 50–950 ramp

primary
#523EC5
secondary
#C4CD91
accent
#DD4BC7
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #523EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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