#524FDF#524FDF

#524FDF is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.1% C 0.212 H 277.0°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#524FDF
RGBrgb(82, 79, 223)
HSLhsl(241, 69%, 59%)
HSVhsv(241, 65%, 87%)
CMYKcmyk(63.2%, 64.6%, 0%, 12.5%)
CIE-LABlab(42.33, 43.95, -73.05)
CIE-LCHlch(42.33, 85.25, 301.03°)
OKLaboklab(52.1% 0.0259 -0.2106)
OKLCHoklch(52.1% 0.212 277)
XYZxyz(19.5906, 12.7119, 71.2190)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524FDF #DCDF4F
analogous
#4F94DF #524FDF #9A4FDF
triadic
#524FDF #DF524F #4FDF52
tetradic
#524FDF #DF4F94 #DCDF4F #4FDF9A
square
#524FDF #DF4F94 #DCDF4F #4FDF9A
split-complementary
#524FDF #DF9A4F #94DF4F
monochromatic
#1E1C98 #2925CC #524FDF #8583E8 #B8B7F2

Accessibility & contrast

On white

5.93
#524FDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#524FDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524FDF
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524FDF#FFFFFF#000000##FFFFFF
##524FDF1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE4
Deuteranopia (green-blind)
#005EDC
Tritanopia (blue-blind)
#007490
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #524fdf;
/* rgb */ color: rgb(82, 79, 223);
/* oklch */ color: oklch(52.1% 0.212 277.0);
Tailwind
colors: {
  custom: {
    50: '#9281ea',
    500: '#524fdf',
    950: '#000000',
  },
}
SCSS
$custom: #524fdf;
$custom-light: #9281ea;
$custom-dark: #000000;
JSON
{
  "hex": "#524fdf",
  "rgb": {
    "r": 82,
    "g": 79,
    "b": 223
  },
  "hsl": {
    "h": 241.25,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.52103,
    "c": 0.21219,
    "h": 277
  },
  "luminance": 0.12714
}

Semantic roles & 50–950 ramp

primary
#524FDF
secondary
#E0E1A9
accent
#EC3CE8
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #524FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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