#525ED3#525ED3

#525ED3 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.7% C 0.178 H 274.3°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#525ED3
RGBrgb(82, 94, 211)
HSLhsl(234, 59%, 57%)
HSVhsv(234, 61%, 83%)
CMYKcmyk(61.1%, 55.5%, 0%, 17.3%)
CIE-LABlab(44.94, 30.88, -61.94)
CIE-LCHlch(44.94, 69.21, 296.50°)
OKLaboklab(53.75% 0.0134 -0.1778)
OKLCHoklch(53.75% 0.178 274.3)
XYZxyz(19.2364, 14.5008, 63.4006)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525ED3 #D3C752
analogous
#529ED3 #525ED3 #8752D3
triadic
#525ED3 #D3525E #5ED352
tetradic
#525ED3 #D3529E #D3C752 #52D387
square
#525ED3 #D3529E #D3C752 #52D387
split-complementary
#525ED3 #D38752 #9ED352
monochromatic
#232C88 #2F3CB9 #525ED3 #838BDF #B4B9EC

Accessibility & contrast

On white

5.38
#525ED3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#525ED3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525ED3
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525ED3#FFFFFF#000000##FFFFFF
##525ED31.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D7
Deuteranopia (green-blind)
#0065D1
Tritanopia (blue-blind)
#007A8F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #525ed3;
/* rgb */ color: rgb(82, 94, 211);
/* oklch */ color: oklch(53.7% 0.178 274.3);
Tailwind
colors: {
  custom: {
    50: '#8f8be1',
    500: '#525ed3',
    950: '#000000',
  },
}
SCSS
$custom: #525ed3;
$custom-light: #8f8be1;
$custom-dark: #000000;
JSON
{
  "hex": "#525ed3",
  "rgb": {
    "r": 82,
    "g": 94,
    "b": 211
  },
  "hsl": {
    "h": 234.419,
    "s": 59.447,
    "l": 57.451
  },
  "oklch": {
    "l": 0.53746,
    "c": 0.17834,
    "h": 274.3
  },
  "luminance": 0.14502
}

Semantic roles & 50–950 ramp

primary
#525ED3
secondary
#DAD6A6
accent
#D445E3
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #525ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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