#525DC8#525DC8

#525DC8 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.7% C 0.165 H 274.8°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#525DC8
RGBrgb(82, 93, 200)
HSLhsl(234, 52%, 55%)
HSVhsv(234, 59%, 78%)
CMYKcmyk(59%, 53.5%, 0%, 21.6%)
CIE-LABlab(43.93, 27.82, -57.25)
CIE-LCHlch(43.93, 63.65, 295.92°)
OKLaboklab(52.75% 0.0139 -0.1641)
OKLCHoklch(52.75% 0.165 274.8)
XYZxyz(17.8160, 13.7913, 56.3555)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525DC8 #C8BD52
analogous
#5298C8 #525DC8 #8252C8
triadic
#525DC8 #C8525D #5DC852
tetradic
#525DC8 #C85298 #C8BD52 #52C882
square
#525DC8 #C85298 #C8BD52 #52C882
split-complementary
#525DC8 #C88252 #98C852
monochromatic
#272E79 #3540A8 #525DC8 #8088D7 #AFB4E6

Accessibility & contrast

On white

5.59
#525DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#525DC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525DC8
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525DC8#FFFFFF#000000##FFFFFF
##525DC81.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#196DCC
Deuteranopia (green-blind)
#0063C6
Tritanopia (blue-blind)
#007689
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #525dc8;
/* rgb */ color: rgb(82, 93, 200);
/* oklch */ color: oklch(52.7% 0.165 274.8);
Tailwind
colors: {
  custom: {
    50: '#8d8ad9',
    500: '#525dc8',
    950: '#000000',
  },
}
SCSS
$custom: #525dc8;
$custom-light: #8d8ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#525dc8",
  "rgb": {
    "r": 82,
    "g": 93,
    "b": 200
  },
  "hsl": {
    "h": 234.407,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.52749,
    "c": 0.16465,
    "h": 274.8
  },
  "luminance": 0.13793
}

Semantic roles & 50–950 ramp

primary
#525DC8
secondary
#D4CFA2
accent
#CE4DDB
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #525DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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