#525BEB#525BEB

#525BEB is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.1% C 0.213 H 274.2°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#525BEB
RGBrgb(82, 91, 235)
HSLhsl(236, 79%, 62%)
HSVhsv(236, 65%, 92%)
CMYKcmyk(65.1%, 61.3%, 0%, 7.8%)
CIE-LABlab(46.00, 40.71, -73.83)
CIE-LCHlch(46.00, 84.32, 298.87°)
OKLaboklab(55.09% 0.0158 -0.2128)
OKLCHoklch(55.09% 0.213 274.2)
XYZxyz(22.2112, 15.2722, 80.3585)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525BEB #EBE252
analogous
#52A7EB #525BEB #9652EB
triadic
#525BEB #EB525B #5BEB52
tetradic
#525BEB #EB52A7 #EBE252 #52EB96
square
#525BEB #EB52A7 #EBE252 #52EB96
split-complementary
#525BEB #EB9652 #A7EB52
monochromatic
#141DAE #1B27E5 #525BEB #898FF1 #C0C3F8

Accessibility & contrast

On white

5.18
#525BEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#525BEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525BEB
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525BEB#FFFFFF#000000##FFFFFF
##525BEB1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F0
Deuteranopia (green-blind)
#0066E8
Tritanopia (blue-blind)
#007F9A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #525beb;
/* rgb */ color: rgb(82, 91, 235);
/* oklch */ color: oklch(55.1% 0.213 274.2);
Tailwind
colors: {
  custom: {
    50: '#9389f2',
    500: '#525beb',
    950: '#000000',
  },
}
SCSS
$custom: #525beb;
$custom-light: #9389f2;
$custom-dark: #000000;
JSON
{
  "hex": "#525beb",
  "rgb": {
    "r": 82,
    "g": 91,
    "b": 235
  },
  "hsl": {
    "h": 236.471,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.55093,
    "c": 0.21342,
    "h": 274.2
  },
  "luminance": 0.15274
}

Semantic roles & 50–950 ramp

primary
#525BEB
secondary
#E8E5B0
accent
#CF0ADC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0B17
muted
#7E7C85

Preview Lab

Preview with #525BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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