#525DC4#525DC4

#525DC4 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.5% C 0.159 H 274.9°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#525DC4
RGBrgb(82, 93, 196)
HSLhsl(234, 49%, 55%)
HSVhsv(234, 58%, 77%)
CMYKcmyk(58.2%, 52.6%, 0%, 23.1%)
CIE-LABlab(43.66, 26.49, -55.37)
CIE-LCHlch(43.66, 61.38, 295.57°)
OKLaboklab(52.46% 0.0137 -0.1585)
OKLCHoklch(52.46% 0.159 274.9)
XYZxyz(17.3546, 13.6068, 53.9257)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525DC4 #C4B952
analogous
#5296C4 #525DC4 #8052C4
triadic
#525DC4 #C4525D #5DC452
tetradic
#525DC4 #C45296 #C4B952 #52C480
square
#525DC4 #C45296 #C4B952 #52C480
split-complementary
#525DC4 #C48052 #96C452
monochromatic
#282F74 #3741A2 #525DC4 #8088D4 #ADB2E3

Accessibility & contrast

On white

5.64
#525DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#525DC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525DC4
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525DC4#FFFFFF#000000##FFFFFF
##525DC41.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#216CC8
Deuteranopia (green-blind)
#0062C2
Tritanopia (blue-blind)
#007587
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #525dc4;
/* rgb */ color: rgb(82, 93, 196);
/* oklch */ color: oklch(52.5% 0.159 274.9);
Tailwind
colors: {
  custom: {
    50: '#8c8ad6',
    500: '#525dc4',
    950: '#000000',
  },
}
SCSS
$custom: #525dc4;
$custom-light: #8c8ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#525dc4",
  "rgb": {
    "r": 82,
    "g": 93,
    "b": 196
  },
  "hsl": {
    "h": 234.211,
    "s": 49.138,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52462,
    "c": 0.15912,
    "h": 274.9
  },
  "luminance": 0.13608
}

Semantic roles & 50–950 ramp

primary
#525DC4
secondary
#D1CCA1
accent
#CB4FD9
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #525DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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