#524DBB#524DBB

#524DBB is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.8% C 0.168 H 280.2°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#524DBB
RGBrgb(82, 77, 187)
HSLhsl(243, 45%, 52%)
HSVhsv(243, 59%, 73%)
CMYKcmyk(56.1%, 58.8%, 0%, 26.7%)
CIE-LABlab(39.05, 33.52, -57.59)
CIE-LCHlch(39.05, 66.63, 300.20°)
OKLaboklab(48.82% 0.0298 -0.1652)
OKLCHoklch(48.82% 0.168 280.2)
XYZxyz(15.1004, 10.6885, 48.2714)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524DBB #B6BB4D
analogous
#4D7FBB #524DBB #894DBB
triadic
#524DBB #BB524D #4DBB52
tetradic
#524DBB #BB4D7F #B6BB4D #4DBB89
square
#524DBB #BB4D7F #B6BB4D #4DBB89
split-complementary
#524DBB #BB894D #7FBB4D
monochromatic
#2A2766 #3C3893 #524DBB #7D79CC #A8A6DD

Accessibility & contrast

On white

6.69
#524DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#524DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524DBB
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524DBB#FFFFFF#000000##FFFFFF
##524DBB1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#0058B9
Tritanopia (blue-blind)
#1C677C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #524dbb;
/* rgb */ color: rgb(82, 77, 187);
/* oklch */ color: oklch(48.8% 0.168 280.2);
Tailwind
colors: {
  custom: {
    50: '#8c7fd0',
    500: '#524dbb',
    950: '#000000',
  },
}
SCSS
$custom: #524dbb;
$custom-light: #8c7fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#524dbb",
  "rgb": {
    "r": 82,
    "g": 77,
    "b": 187
  },
  "hsl": {
    "h": 242.727,
    "s": 44.715,
    "l": 51.765
  },
  "oklch": {
    "l": 0.48824,
    "c": 0.16785,
    "h": 280.2
  },
  "luminance": 0.10689
}

Semantic roles & 50–950 ramp

primary
#524DBB
secondary
#C8CA9A
accent
#D453CF
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #524DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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