#525ABA#525ABA

#525ABA is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.2% C 0.149 H 276.2°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#525ABA
RGBrgb(82, 90, 186)
HSLhsl(235, 43%, 53%)
HSVhsv(235, 56%, 73%)
CMYKcmyk(55.9%, 51.6%, 0%, 27.1%)
CIE-LABlab(42.23, 25.06, -51.86)
CIE-LCHlch(42.23, 57.60, 295.79°)
OKLaboklab(51.17% 0.0161 -0.1482)
OKLCHoklch(51.17% 0.149 276.2)
XYZxyz(15.9959, 12.6502, 48.0437)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525ABA #BAB252
analogous
#528EBA #525ABA #7E52BA
triadic
#525ABA #BA525A #5ABA52
tetradic
#525ABA #BA528E #BAB252 #52BA7E
square
#525ABA #BA528E #BAB252 #52BA7E
split-complementary
#525ABA #BA7E52 #8EBA52
monochromatic
#2A2E68 #3B4294 #525ABA #7E84CB #AAADDD

Accessibility & contrast

On white

5.95
#525ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#525ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525ABA
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525ABA#FFFFFF#000000##FFFFFF
##525ABA1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2768BD
Deuteranopia (green-blind)
#145FB8
Tritanopia (blue-blind)
#1A7081
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #525aba;
/* rgb */ color: rgb(82, 90, 186);
/* oklch */ color: oklch(51.2% 0.149 276.2);
Tailwind
colors: {
  custom: {
    50: '#8b88cf',
    500: '#525aba',
    950: '#000000',
  },
}
SCSS
$custom: #525aba;
$custom-light: #8b88cf;
$custom-dark: #000000;
JSON
{
  "hex": "#525aba",
  "rgb": {
    "r": 82,
    "g": 90,
    "b": 186
  },
  "hsl": {
    "h": 235.385,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51174,
    "c": 0.14911,
    "h": 276.2
  },
  "luminance": 0.12651
}

Semantic roles & 50–950 ramp

primary
#525ABA
secondary
#CAC79D
accent
#C955D3
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0D0B14
muted
#7D7C82

Preview Lab

Preview with #525ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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