#525DEB#525DEB

#525DEB is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 55.4% C 0.211 H 273.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#525DEB
RGBrgb(82, 93, 235)
HSLhsl(236, 79%, 62%)
HSVhsv(236, 65%, 92%)
CMYKcmyk(65.1%, 60.4%, 0%, 7.8%)
CIE-LABlab(46.47, 39.50, -73.08)
CIE-LCHlch(46.47, 83.07, 298.40°)
OKLaboklab(55.44% 0.0142 -0.2106)
OKLCHoklch(55.44% 0.211 273.9)
XYZxyz(22.3844, 15.6187, 80.4162)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525DEB #EBE052
analogous
#52AAEB #525DEB #9352EB
triadic
#525DEB #EB525D #5DEB52
tetradic
#525DEB #EB52AA #EBE052 #52EB93
square
#525DEB #EB52AA #EBE052 #52EB93
split-complementary
#525DEB #EB9352 #AAEB52
monochromatic
#141FAE #1B2AE5 #525DEB #8990F1 #C0C4F8

Accessibility & contrast

On white

5.09
#525DEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#525DEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525DEB
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525DEB#FFFFFF#000000##FFFFFF
##525DEB1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F0
Deuteranopia (green-blind)
#0067E8
Tritanopia (blue-blind)
#00819B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #525deb;
/* rgb */ color: rgb(82, 93, 235);
/* oklch */ color: oklch(55.4% 0.211 273.9);
Tailwind
colors: {
  custom: {
    50: '#938bf2',
    500: '#525deb',
    950: '#000000',
  },
}
SCSS
$custom: #525deb;
$custom-light: #938bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#525deb",
  "rgb": {
    "r": 82,
    "g": 93,
    "b": 235
  },
  "hsl": {
    "h": 235.686,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.55436,
    "c": 0.21108,
    "h": 273.9
  },
  "luminance": 0.15621
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #525DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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