#525FD7#525FD7

#525FD7 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.2% C 0.182 H 274.0°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#525FD7
RGBrgb(82, 95, 215)
HSLhsl(234, 62%, 58%)
HSVhsv(234, 62%, 84%)
CMYKcmyk(61.9%, 55.8%, 0%, 15.7%)
CIE-LABlab(45.47, 31.60, -63.36)
CIE-LCHlch(45.47, 70.80, 296.50°)
OKLaboklab(54.23% 0.0126 -0.182)
OKLCHoklch(54.23% 0.182 274)
XYZxyz(19.8336, 14.8829, 66.1043)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525FD7 #D7CA52
analogous
#52A2D7 #525FD7 #8752D7
triadic
#525FD7 #D7525F #5FD752
tetradic
#525FD7 #D752A2 #D7CA52 #52D787
square
#525FD7 #D752A2 #D7CA52 #52D787
split-complementary
#525FD7 #D78752 #A2D752
monochromatic
#212B8E #2C3BC0 #525FD7 #848DE2 #B5BBEE

Accessibility & contrast

On white

5.28
#525FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#525FD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525FD7
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525FD7#FFFFFF#000000##FFFFFF
##525FD71.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DB
Deuteranopia (green-blind)
#0066D5
Tritanopia (blue-blind)
#007C92
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #525fd7;
/* rgb */ color: rgb(82, 95, 215);
/* oklch */ color: oklch(54.2% 0.182 274.0);
Tailwind
colors: {
  custom: {
    50: '#8f8ce4',
    500: '#525fd7',
    950: '#000000',
  },
}
SCSS
$custom: #525fd7;
$custom-light: #8f8ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#525fd7",
  "rgb": {
    "r": 82,
    "g": 95,
    "b": 215
  },
  "hsl": {
    "h": 234.135,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.54232,
    "c": 0.18246,
    "h": 274
  },
  "luminance": 0.14885
}

Semantic roles & 50–950 ramp

primary
#525FD7
secondary
#DDD8A8
accent
#D642E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #525FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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