#523EC8#523EC8

#523EC8 is a mid, highly saturated blue. Relative luminance 0.094; OKLCH L 47.5% C 0.203 H 282.0°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#523EC8
RGBrgb(82, 62, 200)
HSLhsl(249, 56%, 51%)
HSVhsv(249, 69%, 78%)
CMYKcmyk(59%, 69%, 0%, 21.6%)
CIE-LABlab(36.76, 46.49, -68.92)
CIE-LCHlch(36.76, 83.13, 304.00°)
OKLaboklab(47.48% 0.0422 -0.1985)
OKLCHoklch(47.48% 0.203 282)
XYZxyz(15.6244, 9.4082, 55.6250)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523EC8 #B4C83E
analogous
#3E6FC8 #523EC8 #973EC8
triadic
#523EC8 #C8523E #3EC852
tetradic
#523EC8 #C83E6F #B4C83E #3EC897
square
#523EC8 #C83E6F #B4C83E #3EC897
split-complementary
#523EC8 #C8973E #6FC83E
monochromatic
#2A1F6D #3D2D9C #523EC8 #7D6ED6 #A79DE3

Accessibility & contrast

On white

7.29
#523EC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#523EC8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523EC8
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523EC8#FFFFFF#000000##FFFFFF
##523EC81.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCC
Deuteranopia (green-blind)
#0052C5
Tritanopia (blue-blind)
#00637E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #523ec8;
/* rgb */ color: rgb(82, 62, 200);
/* oklch */ color: oklch(47.5% 0.203 282.0);
Tailwind
colors: {
  custom: {
    50: '#8f75da',
    500: '#523ec8',
    950: '#000000',
  },
}
SCSS
$custom: #523ec8;
$custom-light: #8f75da;
$custom-dark: #000000;
JSON
{
  "hex": "#523ec8",
  "rgb": {
    "r": 82,
    "g": 62,
    "b": 200
  },
  "hsl": {
    "h": 248.696,
    "s": 55.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.47481,
    "c": 0.20294,
    "h": 282
  },
  "luminance": 0.09409
}

Semantic roles & 50–950 ramp

primary
#523EC8
secondary
#C7CF92
accent
#DF49C9
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #523EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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