#525CDE#525CDE

#525CDE is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.2% C 0.195 H 274.5°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#525CDE
RGBrgb(82, 92, 222)
HSLhsl(236, 68%, 60%)
HSVhsv(236, 63%, 87%)
CMYKcmyk(63.1%, 58.6%, 0%, 12.9%)
CIE-LABlab(45.25, 35.79, -67.71)
CIE-LCHlch(45.25, 76.59, 297.86°)
OKLaboklab(54.23% 0.0153 -0.1948)
OKLCHoklch(54.23% 0.195 274.5)
XYZxyz(20.4873, 14.7203, 70.8547)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525CDE #DED452
analogous
#52A2DE #525CDE #8E52DE
triadic
#525CDE #DE525C #5CDE52
tetradic
#525CDE #DE52A2 #DED452 #52DE8E
square
#525CDE #DE52A2 #DED452 #52DE8E
split-complementary
#525CDE #DE8E52 #A2DE52
monochromatic
#1D2699 #2733CC #525CDE #858CE8 #B9BDF2

Accessibility & contrast

On white

5.32
#525CDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#525CDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525CDE
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525CDE#FFFFFF#000000##FFFFFF
##525CDE1.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E2
Deuteranopia (green-blind)
#0065DB
Tritanopia (blue-blind)
#007C94
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #525cde;
/* rgb */ color: rgb(82, 92, 222);
/* oklch */ color: oklch(54.2% 0.195 274.5);
Tailwind
colors: {
  custom: {
    50: '#918ae9',
    500: '#525cde',
    950: '#000000',
  },
}
SCSS
$custom: #525cde;
$custom-light: #918ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#525cde",
  "rgb": {
    "r": 82,
    "g": 92,
    "b": 222
  },
  "hsl": {
    "h": 235.714,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.54225,
    "c": 0.19545,
    "h": 274.5
  },
  "luminance": 0.14722
}

Semantic roles & 50–950 ramp

primary
#525CDE
secondary
#E1DDAB
accent
#DE3DEB
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #525CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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