#525FD9#525FD9

#525FD9 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.4% C 0.185 H 273.9°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#525FD9
RGBrgb(82, 95, 217)
HSLhsl(234, 64%, 59%)
HSVhsv(234, 62%, 85%)
CMYKcmyk(62.2%, 56.2%, 0%, 14.9%)
CIE-LABlab(45.62, 32.27, -64.27)
CIE-LCHlch(45.62, 71.92, 296.66°)
OKLaboklab(54.38% 0.0126 -0.1847)
OKLCHoklch(54.38% 0.185 273.9)
XYZxyz(20.0921, 14.9863, 67.4660)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525FD9 #D9CC52
analogous
#52A2D9 #525FD9 #8852D9
triadic
#525FD9 #D9525F #5FD952
tetradic
#525FD9 #D952A2 #D9CC52 #52D988
square
#525FD9 #D952A2 #D9CC52 #52D988
split-complementary
#525FD9 #D98852 #A2D952
monochromatic
#202B91 #2B39C3 #525FD9 #848DE4 #B6BCEF

Accessibility & contrast

On white

5.25
#525FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#525FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525FD9
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525FD9#FFFFFF#000000##FFFFFF
##525FD91.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DD
Deuteranopia (green-blind)
#0066D7
Tritanopia (blue-blind)
#007C93
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #525fd9;
/* rgb */ color: rgb(82, 95, 217);
/* oklch */ color: oklch(54.4% 0.185 273.9);
Tailwind
colors: {
  custom: {
    50: '#908ce6',
    500: '#525fd9',
    950: '#000000',
  },
}
SCSS
$custom: #525fd9;
$custom-light: #908ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#525fd9",
  "rgb": {
    "r": 82,
    "g": 95,
    "b": 217
  },
  "hsl": {
    "h": 234.222,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.54383,
    "c": 0.18513,
    "h": 273.9
  },
  "luminance": 0.14988
}

Semantic roles & 50–950 ramp

primary
#525FD9
secondary
#DED9A9
accent
#D741E7
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #525FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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