#525FEA#525FEA

#525FEA is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 55.7% C 0.207 H 273.5°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#525FEA
RGBrgb(82, 95, 234)
HSLhsl(235, 78%, 62%)
HSVhsv(235, 65%, 92%)
CMYKcmyk(65%, 59.4%, 0%, 8.2%)
CIE-LABlab(46.87, 37.96, -71.87)
CIE-LCHlch(46.87, 81.28, 297.84°)
OKLaboklab(55.7% 0.0127 -0.207)
OKLCHoklch(55.7% 0.207 273.5)
XYZxyz(22.4182, 15.9168, 79.7168)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525FEA #EADD52
analogous
#52ABEA #525FEA #9152EA
triadic
#525FEA #EA525F #5FEA52
tetradic
#525FEA #EA52AB #EADD52 #52EA91
square
#525FEA #EA52AB #EADD52 #52EA91
split-complementary
#525FEA #EA9152 #ABEA52
monochromatic
#1522AD #1C2DE3 #525FEA #8991F1 #BFC4F7

Accessibility & contrast

On white

5.02
#525FEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#525FEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525FEA
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525FEA#FFFFFF#000000##FFFFFF
##525FEA1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EF
Deuteranopia (green-blind)
#0068E7
Tritanopia (blue-blind)
#00819B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #525fea;
/* rgb */ color: rgb(82, 95, 234);
/* oklch */ color: oklch(55.7% 0.207 273.5);
Tailwind
colors: {
  custom: {
    50: '#938cf2',
    500: '#525fea',
    950: '#000000',
  },
}
SCSS
$custom: #525fea;
$custom-light: #938cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#525fea",
  "rgb": {
    "r": 82,
    "g": 95,
    "b": 234
  },
  "hsl": {
    "h": 234.868,
    "s": 78.351,
    "l": 61.961
  },
  "oklch": {
    "l": 0.55703,
    "c": 0.20743,
    "h": 273.5
  },
  "luminance": 0.15919
}

Semantic roles & 50–950 ramp

primary
#525FEA
secondary
#E8E3B0
accent
#C90BDB
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #525FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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