#525FDC#525FDC

#525FDC is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.6% C 0.189 H 273.8°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#525FDC
RGBrgb(82, 95, 220)
HSLhsl(234, 66%, 59%)
HSVhsv(234, 63%, 86%)
CMYKcmyk(62.7%, 56.8%, 0%, 13.7%)
CIE-LABlab(45.83, 33.27, -65.63)
CIE-LCHlch(45.83, 73.58, 296.88°)
OKLaboklab(54.61% 0.0127 -0.1887)
OKLCHoklch(54.61% 0.189 273.8)
XYZxyz(20.4859, 15.1438, 69.5398)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525FDC #DCCF52
analogous
#52A4DC #525FDC #8A52DC
triadic
#525FDC #DC525F #5FDC52
tetradic
#525FDC #DC52A4 #DCCF52 #52DC8A
square
#525FDC #DC52A4 #DCCF52 #52DC8A
split-complementary
#525FDC #DC8A52 #A4DC52
monochromatic
#1E2995 #2938C8 #525FDC #858EE6 #B8BDF1

Accessibility & contrast

On white

5.21
#525FDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#525FDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525FDC
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525FDC#FFFFFF#000000##FFFFFF
##525FDC1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E0
Deuteranopia (green-blind)
#0067D9
Tritanopia (blue-blind)
#007D94
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #525fdc;
/* rgb */ color: rgb(82, 95, 220);
/* oklch */ color: oklch(54.6% 0.189 273.8);
Tailwind
colors: {
  custom: {
    50: '#908ce8',
    500: '#525fdc',
    950: '#000000',
  },
}
SCSS
$custom: #525fdc;
$custom-light: #908ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#525fdc",
  "rgb": {
    "r": 82,
    "g": 95,
    "b": 220
  },
  "hsl": {
    "h": 234.348,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.54611,
    "c": 0.18913,
    "h": 273.8
  },
  "luminance": 0.15146
}

Semantic roles & 50–950 ramp

primary
#525FDC
secondary
#E0DBAA
accent
#D93FE9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #525FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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