#525CDF#525CDF

#525CDF is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.3% C 0.197 H 274.5°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#525CDF
RGBrgb(82, 92, 223)
HSLhsl(236, 69%, 60%)
HSVhsv(236, 63%, 87%)
CMYKcmyk(63.2%, 58.7%, 0%, 12.5%)
CIE-LABlab(45.32, 36.12, -68.16)
CIE-LCHlch(45.32, 77.14, 297.92°)
OKLaboklab(54.3% 0.0153 -0.1962)
OKLCHoklch(54.3% 0.197 274.5)
XYZxyz(20.6217, 14.7741, 71.5627)
Luminance0.1478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525CDF #DFD552
analogous
#52A2DF #525CDF #8F52DF
triadic
#525CDF #DF525C #5CDF52
tetradic
#525CDF #DF52A2 #DFD552 #52DF8F
square
#525CDF #DF52A2 #DFD552 #52DF8F
split-complementary
#525CDF #DF8F52 #A2DF52
monochromatic
#1D259A #2632CE #525CDF #868DE9 #B9BDF2

Accessibility & contrast

On white

5.31
#525CDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#525CDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525CDF
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525CDF#FFFFFF#000000##FFFFFF
##525CDF1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E3
Deuteranopia (green-blind)
#0065DC
Tritanopia (blue-blind)
#007C95
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #525cdf;
/* rgb */ color: rgb(82, 92, 223);
/* oklch */ color: oklch(54.3% 0.197 274.5);
Tailwind
colors: {
  custom: {
    50: '#918aea',
    500: '#525cdf',
    950: '#000000',
  },
}
SCSS
$custom: #525cdf;
$custom-light: #918aea;
$custom-dark: #000000;
JSON
{
  "hex": "#525cdf",
  "rgb": {
    "r": 82,
    "g": 92,
    "b": 223
  },
  "hsl": {
    "h": 235.745,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.54303,
    "c": 0.19676,
    "h": 274.5
  },
  "luminance": 0.14776
}

Semantic roles & 50–950 ramp

primary
#525CDF
secondary
#E2DEAB
accent
#DF3CEC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #525CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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