#525EB7#525EB7

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

Color values

HEX#525EB7
RGBrgb(82, 94, 183)
HSLhsl(233, 41%, 52%)
HSVhsv(233, 55%, 72%)
CMYKcmyk(55.2%, 48.6%, 0%, 28.2%)
CIE-LABlab(43.09, 21.54, -48.73)
CIE-LCHlch(43.09, 53.28, 293.85°)
OKLaboklab(51.76% 0.0114 -0.139)
OKLCHoklch(51.76% 0.139 274.7)
XYZxyz(16.0269, 13.2170, 46.4972)
Luminance0.1322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525EB7 #B7AB52
analogous
#5291B7 #525EB7 #7952B7
triadic
#525EB7 #B7525E #5EB752
tetradic
#525EB7 #B75291 #B7AB52 #52B779
square
#525EB7 #B75291 #B7AB52 #52B779
split-complementary
#525EB7 #B77952 #91B752
monochromatic
#2A3165 #3C4690 #525EB7 #7D86C9 #A8AEDB

Accessibility & contrast

On white

5.76
#525EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#525EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525EB7
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525EB7#FFFFFF#000000##FFFFFF
##525EB71.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336ABA
Deuteranopia (green-blind)
#2662B5
Tritanopia (blue-blind)
#1E7282
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #525eb7;
/* rgb */ color: rgb(82, 94, 183);
/* oklch */ color: oklch(51.8% 0.139 274.7);
Tailwind
colors: {
  custom: {
    50: '#8a8bcd',
    500: '#525eb7',
    950: '#000000',
  },
}
SCSS
$custom: #525eb7;
$custom-light: #8a8bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#525eb7",
  "rgb": {
    "r": 82,
    "g": 94,
    "b": 183
  },
  "hsl": {
    "h": 232.871,
    "s": 41.224,
    "l": 51.961
  },
  "oklch": {
    "l": 0.5176,
    "c": 0.13947,
    "h": 274.7
  },
  "luminance": 0.13218
}

Semantic roles & 50–950 ramp

primary
#525EB7
secondary
#C9C39C
accent
#C357D1
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #525EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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