#525ECC#525ECC

#525ECC is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.2% C 0.169 H 274.5°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#525ECC
RGBrgb(82, 94, 204)
HSLhsl(234, 54%, 56%)
HSVhsv(234, 60%, 80%)
CMYKcmyk(59.8%, 53.9%, 0%, 20%)
CIE-LABlab(44.46, 28.53, -58.70)
CIE-LCHlch(44.46, 65.27, 295.92°)
OKLaboklab(53.23% 0.0131 -0.1683)
OKLCHoklch(53.23% 0.169 274.5)
XYZxyz(18.3779, 14.1574, 58.8792)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525ECC #CCC052
analogous
#529BCC #525ECC #8352CC
triadic
#525ECC #CC525E #5ECC52
tetradic
#525ECC #CC529B #CCC052 #52CC83
square
#525ECC #CC529B #CCC052 #52CC83
split-complementary
#525ECC #CC8352 #9BCC52
monochromatic
#252E7E #333FAE #525ECC #818ADA #B1B6E8

Accessibility & contrast

On white

5.48
#525ECC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#525ECC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525ECC
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525ECC#FFFFFF#000000##FFFFFF
##525ECC1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#146FD0
Deuteranopia (green-blind)
#0064CA
Tritanopia (blue-blind)
#00788C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #525ecc;
/* rgb */ color: rgb(82, 94, 204);
/* oklch */ color: oklch(53.2% 0.169 274.5);
Tailwind
colors: {
  custom: {
    50: '#8e8bdc',
    500: '#525ecc',
    950: '#000000',
  },
}
SCSS
$custom: #525ecc;
$custom-light: #8e8bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#525ecc",
  "rgb": {
    "r": 82,
    "g": 94,
    "b": 204
  },
  "hsl": {
    "h": 234.098,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.5323,
    "c": 0.16884,
    "h": 274.5
  },
  "luminance": 0.14159
}

Semantic roles & 50–950 ramp

primary
#525ECC
secondary
#D6D1A4
accent
#CF4ADE
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #525ECC

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

Preview Lab → · Contrast checker → · Palette generator →

#525ECC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva