#525BBA#525BBA

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

Color values

HEX#525BBA
RGBrgb(82, 91, 186)
HSLhsl(235, 43%, 53%)
HSVhsv(235, 56%, 73%)
CMYKcmyk(55.9%, 51.1%, 0%, 27.1%)
CIE-LABlab(42.49, 24.43, -51.44)
CIE-LCHlch(42.49, 56.95, 295.40°)
OKLaboklab(51.37% 0.015 -0.147)
OKLCHoklch(51.37% 0.148 275.8)
XYZxyz(16.0808, 12.8201, 48.0720)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525BBA #BAB152
analogous
#528FBA #525BBA #7D52BA
triadic
#525BBA #BA525B #5BBA52
tetradic
#525BBA #BA528F #BAB152 #52BA7D
square
#525BBA #BA528F #BAB152 #52BA7D
split-complementary
#525BBA #BA7D52 #8FBA52
monochromatic
#2A2F68 #3B4394 #525BBA #7E84CB #AAAEDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##525BBA#FFFFFF#000000##FFFFFF
##525BBA1.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)
#2969BD
Deuteranopia (green-blind)
#1860B8
Tritanopia (blue-blind)
#1A7082
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #525bba;
/* rgb */ color: rgb(82, 91, 186);
/* oklch */ color: oklch(51.4% 0.148 275.8);
Tailwind
colors: {
  custom: {
    50: '#8b89cf',
    500: '#525bba',
    950: '#000000',
  },
}
SCSS
$custom: #525bba;
$custom-light: #8b89cf;
$custom-dark: #000000;
JSON
{
  "hex": "#525bba",
  "rgb": {
    "r": 82,
    "g": 91,
    "b": 186
  },
  "hsl": {
    "h": 234.808,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51369,
    "c": 0.14777,
    "h": 275.8
  },
  "luminance": 0.12821
}

Semantic roles & 50–950 ramp

primary
#525BBA
secondary
#CAC79D
accent
#C855D3
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0D0B14
muted
#7D7C82

Preview Lab

Preview with #525BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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