#525CBE#525CBE

#525CBE is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.8% C 0.152 H 275.4°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#525CBE
RGBrgb(82, 92, 190)
HSLhsl(234, 45%, 53%)
HSVhsv(234, 57%, 75%)
CMYKcmyk(56.8%, 51.6%, 0%, 25.5%)
CIE-LABlab(43.01, 25.12, -52.94)
CIE-LCHlch(43.01, 58.60, 295.38°)
OKLaboklab(51.84% 0.0143 -0.1514)
OKLCHoklch(51.84% 0.152 275.4)
XYZxyz(16.5981, 13.1647, 50.3716)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525CBE #BEB452
analogous
#5292BE #525CBE #7E52BE
triadic
#525CBE #BE525C #5CBE52
tetradic
#525CBE #BE5292 #BEB452 #52BE7E
square
#525CBE #BE5292 #BEB452 #52BE7E
split-complementary
#525CBE #BE7E52 #92BE52
monochromatic
#292F6D #3A4299 #525CBE #7E86CF #ABB0DF

Accessibility & contrast

On white

5.78
#525CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#525CBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525CBE
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525CBE#FFFFFF#000000##FFFFFF
##525CBE1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#276AC1
Deuteranopia (green-blind)
#1161BC
Tritanopia (blue-blind)
#117284
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #525cbe;
/* rgb */ color: rgb(82, 92, 190);
/* oklch */ color: oklch(51.8% 0.152 275.4);
Tailwind
colors: {
  custom: {
    50: '#8b8ad2',
    500: '#525cbe',
    950: '#000000',
  },
}
SCSS
$custom: #525cbe;
$custom-light: #8b8ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#525cbe",
  "rgb": {
    "r": 82,
    "g": 92,
    "b": 190
  },
  "hsl": {
    "h": 234.444,
    "s": 45.378,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51844,
    "c": 0.15206,
    "h": 275.4
  },
  "luminance": 0.13166
}

Semantic roles & 50–950 ramp

primary
#525CBE
secondary
#CDC99F
accent
#C953D5
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #525CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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