#524FDB#524FDB

#524FDB is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 51.8% C 0.207 H 277.3°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#524FDB
RGBrgb(82, 79, 219)
HSLhsl(241, 66%, 58%)
HSVhsv(241, 64%, 86%)
CMYKcmyk(62.6%, 63.9%, 0%, 14.1%)
CIE-LABlab(42.00, 42.66, -71.30)
CIE-LCHlch(42.00, 83.09, 300.89°)
OKLaboklab(51.76% 0.0262 -0.2055)
OKLCHoklch(51.76% 0.207 277.3)
XYZxyz(19.0577, 12.4987, 68.4123)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524FDB #D8DB4F
analogous
#4F92DB #524FDB #984FDB
triadic
#524FDB #DB524F #4FDB52
tetradic
#524FDB #DB4F92 #D8DB4F #4FDB98
square
#524FDB #DB4F92 #D8DB4F #4FDB98
split-complementary
#524FDB #DB984F #92DB4F
monochromatic
#201E92 #2C28C5 #524FDB #8482E5 #B6B5F0

Accessibility & contrast

On white

6.00
#524FDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#524FDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524FDB
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524FDB#FFFFFF#000000##FFFFFF
##524FDB1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DF
Deuteranopia (green-blind)
#005DD8
Tritanopia (blue-blind)
#00738E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #524fdb;
/* rgb */ color: rgb(82, 79, 219);
/* oklch */ color: oklch(51.8% 0.207 277.3);
Tailwind
colors: {
  custom: {
    50: '#9181e7',
    500: '#524fdb',
    950: '#000000',
  },
}
SCSS
$custom: #524fdb;
$custom-light: #9181e7;
$custom-dark: #000000;
JSON
{
  "hex": "#524fdb",
  "rgb": {
    "r": 82,
    "g": 79,
    "b": 219
  },
  "hsl": {
    "h": 241.286,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.51763,
    "c": 0.20715,
    "h": 277.3
  },
  "luminance": 0.125
}

Semantic roles & 50–950 ramp

primary
#524FDB
secondary
#DDDFA7
accent
#E93FE5
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #524FDB

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

Preview Lab → · Contrast checker → · Palette generator →

#524FDB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva