#525EDA#525EDA

#525EDA is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.3% C 0.188 H 274.1°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#525EDA
RGBrgb(82, 94, 218)
HSLhsl(235, 65%, 59%)
HSVhsv(235, 62%, 85%)
CMYKcmyk(62.4%, 56.9%, 0%, 14.5%)
CIE-LABlab(45.44, 33.22, -65.12)
CIE-LCHlch(45.44, 73.11, 297.03°)
OKLaboklab(54.28% 0.0136 -0.1872)
OKLCHoklch(54.28% 0.188 274.1)
XYZxyz(20.1331, 14.8595, 68.1233)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525EDA #DACE52
analogous
#52A2DA #525EDA #8A52DA
triadic
#525EDA #DA525E #5EDA52
tetradic
#525EDA #DA52A2 #DACE52 #52DA8A
square
#525EDA #DA52A2 #DACE52 #52DA8A
split-complementary
#525EDA #DA8A52 #A2DA52
monochromatic
#1F2992 #2A38C5 #525EDA #848DE5 #B7BCF0

Accessibility & contrast

On white

5.29
#525EDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#525EDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525EDA
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525EDA#FFFFFF#000000##FFFFFF
##525EDA1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DE
Deuteranopia (green-blind)
#0066D7
Tritanopia (blue-blind)
#007C93
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #525eda;
/* rgb */ color: rgb(82, 94, 218);
/* oklch */ color: oklch(54.3% 0.188 274.1);
Tailwind
colors: {
  custom: {
    50: '#908be6',
    500: '#525eda',
    950: '#000000',
  },
}
SCSS
$custom: #525eda;
$custom-light: #908be6;
$custom-dark: #000000;
JSON
{
  "hex": "#525eda",
  "rgb": {
    "r": 82,
    "g": 94,
    "b": 218
  },
  "hsl": {
    "h": 234.706,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.54275,
    "c": 0.18771,
    "h": 274.1
  },
  "luminance": 0.14861
}

Semantic roles & 50–950 ramp

primary
#525EDA
secondary
#DFDAA9
accent
#D940E8
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #525EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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