#525BB5#525BB5

#525BB5 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.0% C 0.141 H 275.9°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#525BB5
RGBrgb(82, 91, 181)
HSLhsl(235, 40%, 52%)
HSVhsv(235, 55%, 71%)
CMYKcmyk(54.7%, 49.7%, 0%, 29%)
CIE-LABlab(42.17, 22.78, -49.03)
CIE-LCHlch(42.17, 54.06, 294.91°)
OKLaboklab(51.03% 0.0145 -0.1399)
OKLCHoklch(51.03% 0.141 275.9)
XYZxyz(15.5586, 12.6112, 45.3214)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525BB5 #B5AC52
analogous
#528DB5 #525BB5 #7B52B5
triadic
#525BB5 #B5525B #5BB552
tetradic
#525BB5 #B5528D #B5AC52 #52B57B
square
#525BB5 #B5528D #B5AC52 #52B57B
split-complementary
#525BB5 #B57B52 #8DB552
monochromatic
#2A2F62 #3C448D #525BB5 #7D84C7 #A8ACDA

Accessibility & contrast

On white

5.96
#525BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#525BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525BB5
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525BB5#FFFFFF#000000##FFFFFF
##525BB51.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F68B8
Deuteranopia (green-blind)
#2260B3
Tritanopia (blue-blind)
#216F7F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #525bb5;
/* rgb */ color: rgb(82, 91, 181);
/* oklch */ color: oklch(51.0% 0.141 275.9);
Tailwind
colors: {
  custom: {
    50: '#8a89cc',
    500: '#525bb5',
    950: '#000000',
  },
}
SCSS
$custom: #525bb5;
$custom-light: #8a89cc;
$custom-dark: #000000;
JSON
{
  "hex": "#525bb5",
  "rgb": {
    "r": 82,
    "g": 91,
    "b": 181
  },
  "hsl": {
    "h": 234.545,
    "s": 40.081,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51026,
    "c": 0.14067,
    "h": 275.9
  },
  "luminance": 0.12612
}

Semantic roles & 50–950 ramp

primary
#525BB5
secondary
#C7C39C
accent
#C558D0
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #525BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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