#523DD4#523DD4

#523DD4 is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 48.4% C 0.218 H 280.8°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#523DD4
RGBrgb(82, 61, 212)
HSLhsl(248, 64%, 54%)
HSVhsv(248, 71%, 83%)
CMYKcmyk(61.3%, 71.2%, 0%, 16.9%)
CIE-LABlab(37.63, 50.69, -74.44)
CIE-LCHlch(37.63, 90.06, 304.26°)
OKLaboklab(48.43% 0.0408 -0.2147)
OKLCHoklch(48.43% 0.219 280.8)
XYZxyz(17.0283, 9.8835, 63.2850)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523DD4 #BFD43D
analogous
#3D73D4 #523DD4 #9D3DD4
triadic
#523DD4 #D4523D #3DD452
tetradic
#523DD4 #D43D73 #BFD43D #3DD49D
square
#523DD4 #D43D73 #BFD43D #3DD49D
split-complementary
#523DD4 #D49D3D #73D43D
monochromatic
#291B7B #3926AD #523DD4 #7F6FDF #ABA1EA

Accessibility & contrast

On white

7.05
#523DD4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#523DD4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523DD4
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523DD4#FFFFFF#000000##FFFFFF
##523DD41.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED8
Deuteranopia (green-blind)
#0053D1
Tritanopia (blue-blind)
#006685
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #523dd4;
/* rgb */ color: rgb(82, 61, 212);
/* oklch */ color: oklch(48.4% 0.218 280.8);
Tailwind
colors: {
  custom: {
    50: '#9175e2',
    500: '#523dd4',
    950: '#000000',
  },
}
SCSS
$custom: #523dd4;
$custom-light: #9175e2;
$custom-dark: #000000;
JSON
{
  "hex": "#523dd4",
  "rgb": {
    "r": 82,
    "g": 61,
    "b": 212
  },
  "hsl": {
    "h": 248.344,
    "s": 63.713,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48432,
    "c": 0.2185,
    "h": 280.8
  },
  "luminance": 0.09885
}

Semantic roles & 50–950 ramp

primary
#523DD4
secondary
#CED796
accent
#E741D0
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #523DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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