#525ABE#525ABE

#525ABE is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.5% C 0.155 H 276.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#525ABE
RGBrgb(82, 90, 190)
HSLhsl(236, 45%, 53%)
HSVhsv(236, 57%, 75%)
CMYKcmyk(56.8%, 52.6%, 0%, 25.5%)
CIE-LABlab(42.49, 26.38, -53.77)
CIE-LCHlch(42.49, 59.89, 296.13°)
OKLaboklab(51.46% 0.0164 -0.1539)
OKLCHoklch(51.46% 0.155 276.1)
XYZxyz(16.4271, 12.8227, 50.3146)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525ABE #BEB652
analogous
#5290BE #525ABE #8052BE
triadic
#525ABE #BE525A #5ABE52
tetradic
#525ABE #BE5290 #BEB652 #52BE80
square
#525ABE #BE5290 #BEB652 #52BE80
split-complementary
#525ABE #BE8052 #90BE52
monochromatic
#292E6D #3A4199 #525ABE #7E84CF #ABAFDF

Accessibility & contrast

On white

5.89
#525ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#525ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525ABE
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525ABE#FFFFFF#000000##FFFFFF
##525ABE1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2169C2
Deuteranopia (green-blind)
#0560BC
Tritanopia (blue-blind)
#127183
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #525abe;
/* rgb */ color: rgb(82, 90, 190);
/* oklch */ color: oklch(51.5% 0.155 276.1);
Tailwind
colors: {
  custom: {
    50: '#8c88d2',
    500: '#525abe',
    950: '#000000',
  },
}
SCSS
$custom: #525abe;
$custom-light: #8c88d2;
$custom-dark: #000000;
JSON
{
  "hex": "#525abe",
  "rgb": {
    "r": 82,
    "g": 90,
    "b": 190
  },
  "hsl": {
    "h": 235.556,
    "s": 45.378,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51456,
    "c": 0.15473,
    "h": 276.1
  },
  "luminance": 0.12824
}

Semantic roles & 50–950 ramp

primary
#525ABE
secondary
#CDCA9F
accent
#CB53D5
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #525ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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