#523BCB#523BCB

#523BCB is a mid, highly saturated blue. Relative luminance 0.092; OKLCH L 47.3% C 0.210 H 282.1°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#523BCB
RGBrgb(82, 59, 203)
HSLhsl(250, 58%, 51%)
HSVhsv(250, 71%, 80%)
CMYKcmyk(59.6%, 70.9%, 0%, 20.4%)
CIE-LABlab(36.43, 49.05, -71.21)
CIE-LCHlch(36.43, 86.47, 304.56°)
OKLaboklab(47.33% 0.044 -0.2052)
OKLCHoklch(47.33% 0.21 282.1)
XYZxyz(15.8198, 9.2325, 57.4367)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523BCB #B4CB3B
analogous
#3B6CCB #523BCB #9A3BCB
triadic
#523BCB #CB523B #3BCB52
tetradic
#523BCB #CB3B6C #B4CB3B #3BCB9A
square
#523BCB #CB3B6C #B4CB3B #3BCB9A
split-complementary
#523BCB #CB9A3B #6CCB3B
monochromatic
#2A1D6E #3D2A9F #523BCB #7D6BD8 #A79CE5

Accessibility & contrast

On white

7.38
#523BCB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#523BCB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523BCB
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523BCB#FFFFFF#000000##FFFFFF
##523BCB1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACF
Deuteranopia (green-blind)
#0051C8
Tritanopia (blue-blind)
#00627F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #523bcb;
/* rgb */ color: rgb(82, 59, 203);
/* oklch */ color: oklch(47.3% 0.210 282.1);
Tailwind
colors: {
  custom: {
    50: '#9073dc',
    500: '#523bcb',
    950: '#000000',
  },
}
SCSS
$custom: #523bcb;
$custom-light: #9073dc;
$custom-dark: #000000;
JSON
{
  "hex": "#523bcb",
  "rgb": {
    "r": 82,
    "g": 59,
    "b": 203
  },
  "hsl": {
    "h": 249.583,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.47326,
    "c": 0.20986,
    "h": 282.1
  },
  "luminance": 0.09234
}

Semantic roles & 50–950 ramp

primary
#523BCB
secondary
#C7D191
accent
#E147C9
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #523BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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