#523FCB#523FCB

#523FCB is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 47.9% C 0.205 H 281.5°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#523FCB
RGBrgb(82, 63, 203)
HSLhsl(248, 57%, 52%)
HSVhsv(248, 69%, 80%)
CMYKcmyk(59.6%, 69%, 0%, 20.4%)
CIE-LABlab(37.22, 46.85, -69.90)
CIE-LCHlch(37.22, 84.15, 303.83°)
OKLaboklab(47.9% 0.0409 -0.2014)
OKLCHoklch(47.9% 0.206 281.5)
XYZxyz(16.0333, 9.6595, 57.5079)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523FCB #B8CB3F
analogous
#3F72CB #523FCB #983FCB
triadic
#523FCB #CB523F #3FCB52
tetradic
#523FCB #CB3F72 #B8CB3F #3FCB98
square
#523FCB #CB3F72 #B8CB3F #3FCB98
split-complementary
#523FCB #CB983F #72CB3F
monochromatic
#2A1F71 #3C2CA1 #523FCB #7D6FD8 #A99FE5

Accessibility & contrast

On white

7.16
#523FCB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#523FCB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523FCB
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523FCB#FFFFFF#000000##FFFFFF
##523FCB1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCF
Deuteranopia (green-blind)
#0052C8
Tritanopia (blue-blind)
#006480
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #523fcb;
/* rgb */ color: rgb(82, 63, 203);
/* oklch */ color: oklch(47.9% 0.205 281.5);
Tailwind
colors: {
  custom: {
    50: '#9076dc',
    500: '#523fcb',
    950: '#000000',
  },
}
SCSS
$custom: #523fcb;
$custom-light: #9076dc;
$custom-dark: #000000;
JSON
{
  "hex": "#523fcb",
  "rgb": {
    "r": 82,
    "g": 63,
    "b": 203
  },
  "hsl": {
    "h": 248.143,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.47895,
    "c": 0.2055,
    "h": 281.5
  },
  "luminance": 0.09661
}

Semantic roles & 50–950 ramp

primary
#523FCB
secondary
#C9D194
accent
#E147CC
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #523FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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