#525CE2#525CE2

#525CE2 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.5% C 0.201 H 274.4°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#525CE2
RGBrgb(82, 92, 226)
HSLhsl(236, 71%, 60%)
HSVhsv(236, 64%, 89%)
CMYKcmyk(63.7%, 59.3%, 0%, 11.4%)
CIE-LABlab(45.55, 37.12, -69.49)
CIE-LCHlch(45.55, 78.79, 298.11°)
OKLaboklab(54.54% 0.0153 -0.2001)
OKLCHoklch(54.54% 0.201 274.4)
XYZxyz(21.0298, 14.9373, 73.7117)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525CE2 #E2D852
analogous
#52A4E2 #525CE2 #9052E2
triadic
#525CE2 #E2525C #5CE252
tetradic
#525CE2 #E252A4 #E2D852 #52E290
square
#525CE2 #E252A4 #E2D852 #52E290
split-complementary
#525CE2 #E29052 #A4E252
monochromatic
#1B249F #2330D3 #525CE2 #868DEB #BBBFF4

Accessibility & contrast

On white

5.27
#525CE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#525CE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525CE2
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525CE2#FFFFFF#000000##FFFFFF
##525CE21.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E6
Deuteranopia (green-blind)
#0066DF
Tritanopia (blue-blind)
#007D96
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #525ce2;
/* rgb */ color: rgb(82, 92, 226);
/* oklch */ color: oklch(54.5% 0.201 274.4);
Tailwind
colors: {
  custom: {
    50: '#918aec',
    500: '#525ce2',
    950: '#000000',
  },
}
SCSS
$custom: #525ce2;
$custom-light: #918aec;
$custom-dark: #000000;
JSON
{
  "hex": "#525ce2",
  "rgb": {
    "r": 82,
    "g": 92,
    "b": 226
  },
  "hsl": {
    "h": 235.833,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.5454,
    "c": 0.20067,
    "h": 274.4
  },
  "luminance": 0.14939
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #525CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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