#525AE6#525AE6

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

Color values

HEX#525AE6
RGBrgb(82, 90, 230)
HSLhsl(237, 75%, 61%)
HSVhsv(237, 64%, 90%)
CMYKcmyk(64.3%, 60.9%, 0%, 9.8%)
CIE-LABlab(45.38, 39.66, -72.03)
CIE-LCHlch(45.38, 82.23, 298.84°)
OKLaboklab(54.51% 0.0168 -0.2075)
OKLCHoklch(54.51% 0.208 274.6)
XYZxyz(21.4141, 14.8175, 76.5791)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525AE6 #E6DE52
analogous
#52A4E6 #525AE6 #9452E6
triadic
#525AE6 #E6525A #5AE652
tetradic
#525AE6 #E652A4 #E6DE52 #52E694
square
#525AE6 #E652A4 #E6DE52 #52E694
split-complementary
#525AE6 #E69452 #A4E652
monochromatic
#1820A6 #202ADB #525AE6 #878DEE #BDC0F5

Accessibility & contrast

On white

5.30
#525AE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#525AE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525AE6
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525AE6#FFFFFF#000000##FFFFFF
##525AE61.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EB
Deuteranopia (green-blind)
#0065E3
Tritanopia (blue-blind)
#007D97
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #525ae6;
/* rgb */ color: rgb(82, 90, 230);
/* oklch */ color: oklch(54.5% 0.208 274.6);
Tailwind
colors: {
  custom: {
    50: '#9289ef',
    500: '#525ae6',
    950: '#000000',
  },
}
SCSS
$custom: #525ae6;
$custom-light: #9289ef;
$custom-dark: #000000;
JSON
{
  "hex": "#525ae6",
  "rgb": {
    "r": 82,
    "g": 90,
    "b": 230
  },
  "hsl": {
    "h": 236.757,
    "s": 74.747,
    "l": 61.176
  },
  "oklch": {
    "l": 0.54514,
    "c": 0.20822,
    "h": 274.6
  },
  "luminance": 0.14819
}

Semantic roles & 50–950 ramp

primary
#525AE6
secondary
#E6E3AE
accent
#CC0FD7
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #525AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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