#524FCB#524FCB

#524FCB is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.4% C 0.187 H 278.4°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#524FCB
RGBrgb(82, 79, 203)
HSLhsl(241, 54%, 55%)
HSVhsv(241, 61%, 80%)
CMYKcmyk(59.6%, 61.1%, 0%, 20.4%)
CIE-LABlab(40.73, 37.48, -64.17)
CIE-LCHlch(40.73, 74.32, 300.28°)
OKLaboklab(50.44% 0.0273 -0.1845)
OKLCHoklch(50.44% 0.187 278.4)
XYZxyz(17.0517, 11.6963, 57.8474)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524FCB #C8CB4F
analogous
#4F8ACB #524FCB #904FCB
triadic
#524FCB #CB524F #4FCB52
tetradic
#524FCB #CB4F8A #C8CB4F #4FCB90
square
#524FCB #CB4F8A #C8CB4F #4FCB90
split-complementary
#524FCB #CB904F #8ACB4F
monochromatic
#27247B #3532AA #524FCB #807ED9 #AFADE7

Accessibility & contrast

On white

6.29
#524FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#524FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524FCB
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524FCB#FFFFFF#000000##FFFFFF
##524FCB1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CF
Deuteranopia (green-blind)
#005BC9
Tritanopia (blue-blind)
#006D85
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #524fcb;
/* rgb */ color: rgb(82, 79, 203);
/* oklch */ color: oklch(50.4% 0.187 278.4);
Tailwind
colors: {
  custom: {
    50: '#8e80dc',
    500: '#524fcb',
    950: '#000000',
  },
}
SCSS
$custom: #524fcb;
$custom-light: #8e80dc;
$custom-dark: #000000;
JSON
{
  "hex": "#524fcb",
  "rgb": {
    "r": 82,
    "g": 79,
    "b": 203
  },
  "hsl": {
    "h": 241.452,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.5044,
    "c": 0.18656,
    "h": 278.4
  },
  "luminance": 0.11698
}

Semantic roles & 50–950 ramp

primary
#524FCB
secondary
#D4D5A1
accent
#DE4ADA
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #524FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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