#523DDB#523DDB

#523DDB is a mid, highly saturated blue. Relative luminance 0.102; OKLCH L 49.1% C 0.227 H 280.0°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#523DDB
RGBrgb(82, 61, 219)
HSLhsl(248, 69%, 55%)
HSVhsv(248, 72%, 86%)
CMYKcmyk(62.6%, 72.1%, 0%, 14.1%)
CIE-LABlab(38.28, 52.81, -77.40)
CIE-LCHlch(38.28, 93.70, 304.30°)
OKLaboklab(49.09% 0.0394 -0.2233)
OKLCHoklch(49.09% 0.227 280)
XYZxyz(17.9305, 10.2444, 68.0366)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523DDB #C6DB3D
analogous
#3D77DB #523DDB #A13DDB
triadic
#523DDB #DB523D #3DDB52
tetradic
#523DDB #DB3D77 #C6DB3D #3DDBA1
square
#523DDB #DB3D77 #C6DB3D #3DDBA1
split-complementary
#523DDB #DBA13D #77DB3D
monochromatic
#271985 #3622B9 #523DDB #8071E5 #AEA4EE

Accessibility & contrast

On white

6.89
#523DDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#523DDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #523DDB
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523DDB#FFFFFF#000000##FFFFFF
##523DDB1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060E0
Deuteranopia (green-blind)
#0054D8
Tritanopia (blue-blind)
#006988
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #523ddb;
/* rgb */ color: rgb(82, 61, 219);
/* oklch */ color: oklch(49.1% 0.227 280.0);
Tailwind
colors: {
  custom: {
    50: '#9275e7',
    500: '#523ddb',
    950: '#000000',
  },
}
SCSS
$custom: #523ddb;
$custom-light: #9275e7;
$custom-dark: #000000;
JSON
{
  "hex": "#523ddb",
  "rgb": {
    "r": 82,
    "g": 61,
    "b": 219
  },
  "hsl": {
    "h": 247.975,
    "s": 68.696,
    "l": 54.902
  },
  "oklch": {
    "l": 0.49086,
    "c": 0.22678,
    "h": 280
  },
  "luminance": 0.10246
}

Semantic roles & 50–950 ramp

primary
#523DDB
secondary
#D2DB99
accent
#EC3CD4
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #523DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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