#525AEF#525AEF

#525AEF is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.3% C 0.220 H 274.3°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#525AEF
RGBrgb(82, 90, 239)
HSLhsl(237, 83%, 63%)
HSVhsv(237, 66%, 94%)
CMYKcmyk(65.7%, 62.3%, 0%, 6.3%)
CIE-LABlab(46.09, 42.63, -75.94)
CIE-LCHlch(46.09, 87.09, 299.31°)
OKLaboklab(55.25% 0.0163 -0.219)
OKLCHoklch(55.25% 0.22 274.3)
XYZxyz(22.7107, 15.3361, 83.4080)
Luminance0.1534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525AEF #EFE752
analogous
#52A8EF #525AEF #9952EF
triadic
#525AEF #EF525A #5AEF52
tetradic
#525AEF #EF52A8 #EFE752 #52EF99
square
#525AEF #EF52A8 #EFE752 #52EF99
split-complementary
#525AEF #EF9952 #A8EF52
monochromatic
#1119B6 #1A25EA #525AEF #8A8FF4 #C2C5F9

Accessibility & contrast

On white

5.16
#525AEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#525AEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525AEF
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525AEF#FFFFFF#000000##FFFFFF
##525AEF1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F4
Deuteranopia (green-blind)
#0066EC
Tritanopia (blue-blind)
#00809C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #525aef;
/* rgb */ color: rgb(82, 90, 239);
/* oklch */ color: oklch(55.3% 0.220 274.3);
Tailwind
colors: {
  custom: {
    50: '#9489f5',
    500: '#525aef',
    950: '#000000',
  },
}
SCSS
$custom: #525aef;
$custom-light: #9489f5;
$custom-dark: #000000;
JSON
{
  "hex": "#525aef",
  "rgb": {
    "r": 82,
    "g": 90,
    "b": 239
  },
  "hsl": {
    "h": 236.943,
    "s": 83.069,
    "l": 62.941
  },
  "oklch": {
    "l": 0.55254,
    "c": 0.21965,
    "h": 274.3
  },
  "luminance": 0.15338
}

Semantic roles & 50–950 ramp

primary
#525AEF
secondary
#EBE8B2
accent
#D406DF
background
#F9F8FF
surface
#F2F0FF
border
#CCCBD7
text
#0F0B17
muted
#7E7C85

Preview Lab

Preview with #525AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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