#524ABB#524ABB

#524ABB is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.3% C 0.172 H 281.0°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#524ABB
RGBrgb(82, 74, 187)
HSLhsl(244, 45%, 51%)
HSVhsv(244, 60%, 73%)
CMYKcmyk(56.1%, 60.4%, 0%, 26.7%)
CIE-LABlab(38.34, 35.36, -58.74)
CIE-LCHlch(38.34, 68.56, 301.04°)
OKLaboklab(48.3% 0.0328 -0.1686)
OKLCHoklch(48.3% 0.172 281)
XYZxyz(14.8953, 10.2783, 48.2031)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524ABB #B3BB4A
analogous
#4A7ABB #524ABB #8A4ABB
triadic
#524ABB #BB524A #4ABB52
tetradic
#524ABB #BB4A7A #B3BB4A #4ABB8A
square
#524ABB #BB4A7A #B3BB4A #4ABB8A
split-complementary
#524ABB #BB8A4A #7ABB4A
monochromatic
#2A2665 #3D3791 #524ABB #7D76CC #A7A3DC

Accessibility & contrast

On white

6.87
#524ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#524ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524ABB
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524ABB#FFFFFF#000000##FFFFFF
##524ABB1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#0056B9
Tritanopia (blue-blind)
#1C657B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #524abb;
/* rgb */ color: rgb(82, 74, 187);
/* oklch */ color: oklch(48.3% 0.172 281.0);
Tailwind
colors: {
  custom: {
    50: '#8c7dd0',
    500: '#524abb',
    950: '#000000',
  },
}
SCSS
$custom: #524abb;
$custom-light: #8c7dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#524abb",
  "rgb": {
    "r": 82,
    "g": 74,
    "b": 187
  },
  "hsl": {
    "h": 244.248,
    "s": 45.382,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48299,
    "c": 0.17176,
    "h": 281
  },
  "luminance": 0.10279
}

Semantic roles & 50–950 ramp

primary
#524ABB
secondary
#C6C997
accent
#D553CC
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #524ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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