#524DDB#524DDB

#524DDB is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.4% C 0.209 H 277.6°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#524DDB
RGBrgb(82, 77, 219)
HSLhsl(242, 66%, 58%)
HSVhsv(242, 65%, 86%)
CMYKcmyk(62.6%, 64.8%, 0%, 14.1%)
CIE-LABlab(41.56, 43.84, -72.03)
CIE-LCHlch(41.56, 84.32, 301.33°)
OKLaboklab(51.44% 0.0278 -0.2076)
OKLCHoklch(51.44% 0.209 277.6)
XYZxyz(18.9156, 12.2146, 68.3649)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524DDB #D6DB4D
analogous
#4D8FDB #524DDB #994DDB
triadic
#524DDB #DB524D #4DDB52
tetradic
#524DDB #DB4D8F #D6DB4D #4DDB99
square
#524DDB #DB4D8F #D6DB4D #4DDB99
split-complementary
#524DDB #DB994D #8FDB4D
monochromatic
#211D90 #2D27C3 #524DDB #8380E5 #B5B3F0

Accessibility & contrast

On white

6.10
#524DDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#524DDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524DDB
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524DDB#FFFFFF#000000##FFFFFF
##524DDB1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DF
Deuteranopia (green-blind)
#005CD8
Tritanopia (blue-blind)
#00728D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #524ddb;
/* rgb */ color: rgb(82, 77, 219);
/* oklch */ color: oklch(51.4% 0.209 277.6);
Tailwind
colors: {
  custom: {
    50: '#917fe7',
    500: '#524ddb',
    950: '#000000',
  },
}
SCSS
$custom: #524ddb;
$custom-light: #917fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#524ddb",
  "rgb": {
    "r": 82,
    "g": 77,
    "b": 219
  },
  "hsl": {
    "h": 242.113,
    "s": 66.355,
    "l": 58.039
  },
  "oklch": {
    "l": 0.5144,
    "c": 0.20947,
    "h": 277.6
  },
  "luminance": 0.12216
}

Semantic roles & 50–950 ramp

primary
#524DDB
secondary
#DCDEA6
accent
#E93FE3
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #524DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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