#523BF2#523BF2

#523BF2 is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 51.1% C 0.255 H 278.0°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#523BF2
RGBrgb(82, 59, 242)
HSLhsl(248, 88%, 59%)
HSVhsv(248, 76%, 95%)
CMYKcmyk(66.1%, 75.6%, 0%, 5.1%)
CIE-LABlab(40.13, 60.64, -87.42)
CIE-LCHlch(40.13, 106.39, 304.75°)
OKLaboklab(51.06% 0.0355 -0.2525)
OKLCHoklch(51.06% 0.255 278)
XYZxyz(21.0655, 11.3308, 85.0641)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523BF2 #DBF23B
analogous
#3B80F2 #523BF2 #AE3BF2
triadic
#523BF2 #F2523B #3BF252
tetradic
#523BF2 #F23B80 #DBF23B #3BF2AE
square
#523BF2 #F23B80 #DBF23B #3BF2AE
split-complementary
#523BF2 #F2AE3B #80F23B
monochromatic
#1F0BA7 #290FE1 #523BF2 #8574F6 #B7AEFA

Accessibility & contrast

On white

6.43
#523BF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#523BF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #523BF2
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523BF2#FFFFFF#000000##FFFFFF
##523BF21.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066F7
Deuteranopia (green-blind)
#0057EF
Tritanopia (blue-blind)
#007195
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #523bf2;
/* rgb */ color: rgb(82, 59, 242);
/* oklch */ color: oklch(51.1% 0.255 278.0);
Tailwind
colors: {
  custom: {
    50: '#9775f8',
    500: '#523bf2',
    950: '#000000',
  },
}
SCSS
$custom: #523bf2;
$custom-light: #9775f8;
$custom-dark: #000000;
JSON
{
  "hex": "#523bf2",
  "rgb": {
    "r": 82,
    "g": 59,
    "b": 242
  },
  "hsl": {
    "h": 247.541,
    "s": 87.56,
    "l": 59.02
  },
  "oklch": {
    "l": 0.51057,
    "c": 0.25502,
    "h": 278
  },
  "luminance": 0.11333
}

Semantic roles & 50–950 ramp

primary
#523BF2
secondary
#DFE8A0
accent
#FE2AE3
background
#FAF7FF
surface
#F4EDFF
border
#CEC8D7
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #523BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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