#525BD5#525BD5

#525BD5 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.3% C 0.185 H 275.0°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#525BD5
RGBrgb(82, 91, 213)
HSLhsl(236, 61%, 58%)
HSVhsv(236, 62%, 84%)
CMYKcmyk(61.5%, 57.3%, 0%, 16.5%)
CIE-LABlab(44.35, 33.40, -64.05)
CIE-LCHlch(44.35, 72.24, 297.54°)
OKLaboklab(53.35% 0.0162 -0.1841)
OKLCHoklch(53.35% 0.185 275)
XYZxyz(19.2271, 14.0786, 64.6421)
Luminance0.1408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525BD5 #D5CC52
analogous
#529CD5 #525BD5 #8A52D5
triadic
#525BD5 #D5525B #5BD552
tetradic
#525BD5 #D5529C #D5CC52 #52D58A
square
#525BD5 #D5529C #D5CC52 #52D58A
split-complementary
#525BD5 #D58A52 #9CD552
monochromatic
#22298B #2E37BC #525BD5 #838AE1 #B4B8ED

Accessibility & contrast

On white

5.50
#525BD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#525BD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525BD5
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525BD5#FFFFFF#000000##FFFFFF
##525BD51.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD9
Deuteranopia (green-blind)
#0063D3
Tritanopia (blue-blind)
#00788F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #525bd5;
/* rgb */ color: rgb(82, 91, 213);
/* oklch */ color: oklch(53.3% 0.185 275.0);
Tailwind
colors: {
  custom: {
    50: '#8f89e3',
    500: '#525bd5',
    950: '#000000',
  },
}
SCSS
$custom: #525bd5;
$custom-light: #8f89e3;
$custom-dark: #000000;
JSON
{
  "hex": "#525bd5",
  "rgb": {
    "r": 82,
    "g": 91,
    "b": 213
  },
  "hsl": {
    "h": 235.878,
    "s": 60.93,
    "l": 57.843
  },
  "oklch": {
    "l": 0.53346,
    "c": 0.1848,
    "h": 275
  },
  "luminance": 0.1408
}

Semantic roles & 50–950 ramp

primary
#525BD5
secondary
#DCD8A7
accent
#D944E4
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B15
muted
#7E7C84

Preview Lab

Preview with #525BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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