#523DCB#523DCB

#523DCB is a mid, highly saturated blue. Relative luminance 0.094; OKLCH L 47.6% C 0.208 H 281.8°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#523DCB
RGBrgb(82, 61, 203)
HSLhsl(249, 58%, 52%)
HSVhsv(249, 70%, 80%)
CMYKcmyk(59.6%, 70%, 0%, 20.4%)
CIE-LABlab(36.82, 47.96, -70.56)
CIE-LCHlch(36.82, 85.32, 304.21°)
OKLaboklab(47.61% 0.0425 -0.2033)
OKLCHoklch(47.61% 0.208 281.8)
XYZxyz(15.9245, 9.4420, 57.4717)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523DCB #B6CB3D
analogous
#3D6FCB #523DCB #993DCB
triadic
#523DCB #CB523D #3DCB52
tetradic
#523DCB #CB3D6F #B6CB3D #3DCB99
square
#523DCB #CB3D6F #B6CB3D #3DCB99
split-complementary
#523DCB #CB993D #6FCB3D
monochromatic
#2A1E70 #3C2BA0 #523DCB #7D6DD8 #A89EE5

Accessibility & contrast

On white

7.27
#523DCB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#523DCB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523DCB
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523DCB#FFFFFF#000000##FFFFFF
##523DCB1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCF
Deuteranopia (green-blind)
#0052C8
Tritanopia (blue-blind)
#006380
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #523dcb;
/* rgb */ color: rgb(82, 61, 203);
/* oklch */ color: oklch(47.6% 0.208 281.8);
Tailwind
colors: {
  custom: {
    50: '#9075dc',
    500: '#523dcb',
    950: '#000000',
  },
}
SCSS
$custom: #523dcb;
$custom-light: #9075dc;
$custom-dark: #000000;
JSON
{
  "hex": "#523dcb",
  "rgb": {
    "r": 82,
    "g": 61,
    "b": 203
  },
  "hsl": {
    "h": 248.873,
    "s": 57.724,
    "l": 51.765
  },
  "oklch": {
    "l": 0.47607,
    "c": 0.2077,
    "h": 281.8
  },
  "luminance": 0.09443
}

Semantic roles & 50–950 ramp

primary
#523DCB
secondary
#C8D193
accent
#E147CA
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #523DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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