#525BE2#525BE2

#525BE2 is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 54.4% C 0.202 H 274.6°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#525BE2
RGBrgb(82, 91, 226)
HSLhsl(236, 71%, 60%)
HSVhsv(236, 64%, 89%)
CMYKcmyk(63.7%, 59.7%, 0%, 11.4%)
CIE-LABlab(45.31, 37.73, -69.88)
CIE-LCHlch(45.31, 79.42, 298.37°)
OKLaboklab(54.36% 0.0161 -0.2012)
OKLCHoklch(54.36% 0.202 274.6)
XYZxyz(20.9437, 14.7652, 73.6830)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525BE2 #E2D952
analogous
#52A3E2 #525BE2 #9152E2
triadic
#525BE2 #E2525B #5BE252
tetradic
#525BE2 #E252A3 #E2D952 #52E291
square
#525BE2 #E252A3 #E2D952 #52E291
split-complementary
#525BE2 #E29152 #A3E252
monochromatic
#1B239F #232ED3 #525BE2 #868DEB #BBBEF4

Accessibility & contrast

On white

5.31
#525BE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#525BE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525BE2
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525BE2#FFFFFF#000000##FFFFFF
##525BE21.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E6
Deuteranopia (green-blind)
#0065DF
Tritanopia (blue-blind)
#007C96
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #525be2;
/* rgb */ color: rgb(82, 91, 226);
/* oklch */ color: oklch(54.4% 0.202 274.6);
Tailwind
colors: {
  custom: {
    50: '#9289ec',
    500: '#525be2',
    950: '#000000',
  },
}
SCSS
$custom: #525be2;
$custom-light: #9289ec;
$custom-dark: #000000;
JSON
{
  "hex": "#525be2",
  "rgb": {
    "r": 82,
    "g": 91,
    "b": 226
  },
  "hsl": {
    "h": 236.25,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.54365,
    "c": 0.20187,
    "h": 274.6
  },
  "luminance": 0.14767
}

Semantic roles & 50–950 ramp

primary
#525BE2
secondary
#E3E0AC
accent
#C712D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #525BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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