#524CDB#524CDB

#524CDB is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.3% C 0.211 H 277.8°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#524CDB
RGBrgb(82, 76, 219)
HSLhsl(243, 67%, 58%)
HSVhsv(243, 65%, 86%)
CMYKcmyk(62.6%, 65.3%, 0%, 14.1%)
CIE-LABlab(41.34, 44.42, -72.38)
CIE-LCHlch(41.34, 84.93, 301.54°)
OKLaboklab(51.28% 0.0286 -0.2087)
OKLCHoklch(51.28% 0.211 277.8)
XYZxyz(18.8462, 12.0757, 68.3418)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524CDB #D5DB4C
analogous
#4C8EDB #524CDB #994CDB
triadic
#524CDB #DB524C #4CDB52
tetradic
#524CDB #DB4C8E #D5DB4C #4CDB99
square
#524CDB #DB4C8E #D5DB4C #4CDB99
split-complementary
#524CDB #DB994C #8EDB4C
monochromatic
#221D90 #2E27C3 #524CDB #837FE5 #B4B2EF

Accessibility & contrast

On white

6.15
#524CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#524CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524CDB
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524CDB#FFFFFF#000000##FFFFFF
##524CDB1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DF
Deuteranopia (green-blind)
#005CD8
Tritanopia (blue-blind)
#00718D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #524cdb;
/* rgb */ color: rgb(82, 76, 219);
/* oklch */ color: oklch(51.3% 0.211 277.8);
Tailwind
colors: {
  custom: {
    50: '#917fe7',
    500: '#524cdb',
    950: '#000000',
  },
}
SCSS
$custom: #524cdb;
$custom-light: #917fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#524cdb",
  "rgb": {
    "r": 82,
    "g": 76,
    "b": 219
  },
  "hsl": {
    "h": 242.517,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.51281,
    "c": 0.21061,
    "h": 277.8
  },
  "luminance": 0.12077
}

Semantic roles & 50–950 ramp

primary
#524CDB
secondary
#DCDEA5
accent
#E93EE2
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #524CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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