#525DC2#525DC2

#525DC2 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.3% C 0.156 H 275.0°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#525DC2
RGBrgb(82, 93, 194)
HSLhsl(234, 48%, 54%)
HSVhsv(234, 58%, 76%)
CMYKcmyk(57.7%, 52.1%, 0%, 23.9%)
CIE-LABlab(43.53, 25.82, -54.42)
CIE-LCHlch(43.53, 60.24, 295.38°)
OKLaboklab(52.32% 0.0135 -0.1557)
OKLCHoklch(52.32% 0.156 275)
XYZxyz(17.1285, 13.5163, 52.7348)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525DC2 #C2B752
analogous
#5295C2 #525DC2 #7F52C2
triadic
#525DC2 #C2525D #5DC252
tetradic
#525DC2 #C25295 #C2B752 #52C27F
square
#525DC2 #C25295 #C2B752 #52C27F
split-complementary
#525DC2 #C27F52 #95C252
monochromatic
#282F72 #38429F #525DC2 #7F87D2 #ACB2E2

Accessibility & contrast

On white

5.67
#525DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#525DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525DC2
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525DC2#FFFFFF#000000##FFFFFF
##525DC21.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#246CC6
Deuteranopia (green-blind)
#0762C0
Tritanopia (blue-blind)
#047486
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #525dc2;
/* rgb */ color: rgb(82, 93, 194);
/* oklch */ color: oklch(52.3% 0.156 275.0);
Tailwind
colors: {
  custom: {
    50: '#8c8ad5',
    500: '#525dc2',
    950: '#000000',
  },
}
SCSS
$custom: #525dc2;
$custom-light: #8c8ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#525dc2",
  "rgb": {
    "r": 82,
    "g": 93,
    "b": 194
  },
  "hsl": {
    "h": 234.107,
    "s": 47.863,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5232,
    "c": 0.15633,
    "h": 275
  },
  "luminance": 0.13518
}

Semantic roles & 50–950 ramp

primary
#525DC2
secondary
#D0CBA0
accent
#CA50D7
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #525DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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