#525EEB#525EEB

#525EEB is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 55.6% C 0.210 H 273.7°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#525EEB
RGBrgb(82, 94, 235)
HSLhsl(235, 79%, 62%)
HSVhsv(235, 65%, 92%)
CMYKcmyk(65.1%, 60%, 0%, 7.8%)
CIE-LABlab(46.70, 38.90, -72.69)
CIE-LCHlch(46.70, 82.45, 298.15°)
OKLaboklab(55.61% 0.0134 -0.2095)
OKLCHoklch(55.61% 0.21 273.7)
XYZxyz(22.4728, 15.7954, 80.4457)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525EEB #EBDF52
analogous
#52ABEB #525EEB #9352EB
triadic
#525EEB #EB525E #5EEB52
tetradic
#525EEB #EB52AB #EBDF52 #52EB93
square
#525EEB #EB52AB #EBDF52 #52EB93
split-complementary
#525EEB #EB9352 #ABEB52
monochromatic
#1420AE #1B2BE5 #525EEB #8991F1 #C0C4F8

Accessibility & contrast

On white

5.05
#525EEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#525EEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525EEB
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525EEB#FFFFFF#000000##FFFFFF
##525EEB1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F0
Deuteranopia (green-blind)
#0068E8
Tritanopia (blue-blind)
#00819C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #525eeb;
/* rgb */ color: rgb(82, 94, 235);
/* oklch */ color: oklch(55.6% 0.210 273.7);
Tailwind
colors: {
  custom: {
    50: '#938bf2',
    500: '#525eeb',
    950: '#000000',
  },
}
SCSS
$custom: #525eeb;
$custom-light: #938bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#525eeb",
  "rgb": {
    "r": 82,
    "g": 94,
    "b": 235
  },
  "hsl": {
    "h": 235.294,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.55609,
    "c": 0.2099,
    "h": 273.7
  },
  "luminance": 0.15797
}

Semantic roles & 50–950 ramp

primary
#525EEB
secondary
#E8E4B0
accent
#CB0ADC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #525EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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