#525AAA#525AAA

#525AAA is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.1% C 0.126 H 276.5°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#525AAA
RGBrgb(82, 90, 170)
HSLhsl(235, 35%, 49%)
HSVhsv(235, 52%, 67%)
CMYKcmyk(51.8%, 47.1%, 0%, 33.3%)
CIE-LABlab(41.23, 19.81, -44.07)
CIE-LCHlch(41.23, 48.32, 294.21°)
OKLaboklab(50.09% 0.0144 -0.1253)
OKLCHoklch(50.09% 0.126 276.5)
XYZxyz(14.3893, 12.0076, 39.5819)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525AAA #AAA252
analogous
#5286AA #525AAA #7652AA
triadic
#525AAA #AA525A #5AAA52
tetradic
#525AAA #AA5286 #AAA252 #52AA76
square
#525AAA #AA5286 #AAA252 #52AA76
split-complementary
#525AAA #AA7652 #86AA52
monochromatic
#2A2E57 #3E4481 #525AAA #7A80BF #A4A8D3

Accessibility & contrast

On white

6.17
#525AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#525AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525AAA
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525AAA#FFFFFF#000000##FFFFFF
##525AAA1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3765AD
Deuteranopia (green-blind)
#2E5EA8
Tritanopia (blue-blind)
#2D6B7A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #525aaa;
/* rgb */ color: rgb(82, 90, 170);
/* oklch */ color: oklch(50.1% 0.126 276.5);
Tailwind
colors: {
  custom: {
    50: '#8988c4',
    500: '#525aaa',
    950: '#000000',
  },
}
SCSS
$custom: #525aaa;
$custom-light: #8988c4;
$custom-dark: #000000;
JSON
{
  "hex": "#525aaa",
  "rgb": {
    "r": 82,
    "g": 90,
    "b": 170
  },
  "hsl": {
    "h": 234.545,
    "s": 34.921,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50093,
    "c": 0.12616,
    "h": 276.5
  },
  "luminance": 0.12008
}

Semantic roles & 50–950 ramp

primary
#525AAA
secondary
#C0BD98
accent
#C15DCB
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #525AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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