#525FD4#525FD4

#525FD4 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.0% C 0.178 H 274.0°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#525FD4
RGBrgb(82, 95, 212)
HSLhsl(234, 60%, 58%)
HSVhsv(234, 61%, 83%)
CMYKcmyk(61.3%, 55.2%, 0%, 16.9%)
CIE-LABlab(45.26, 30.59, -61.99)
CIE-LCHlch(45.26, 69.13, 296.26°)
OKLaboklab(54.01% 0.0125 -0.178)
OKLCHoklch(54.01% 0.178 274)
XYZxyz(19.4516, 14.7301, 64.0927)
Luminance0.1473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525FD4 #D4C752
analogous
#52A0D4 #525FD4 #8652D4
triadic
#525FD4 #D4525F #5FD452
tetradic
#525FD4 #D452A0 #D4C752 #52D486
square
#525FD4 #D452A0 #D4C752 #52D486
split-complementary
#525FD4 #D48652 #A0D452
monochromatic
#222C89 #2E3CBA #525FD4 #838CE0 #B4BAEC

Accessibility & contrast

On white

5.32
#525FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#525FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525FD4
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525FD4#FFFFFF#000000##FFFFFF
##525FD41.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071D8
Deuteranopia (green-blind)
#0066D2
Tritanopia (blue-blind)
#007B90
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #525fd4;
/* rgb */ color: rgb(82, 95, 212);
/* oklch */ color: oklch(54.0% 0.178 274.0);
Tailwind
colors: {
  custom: {
    50: '#8f8ce2',
    500: '#525fd4',
    950: '#000000',
  },
}
SCSS
$custom: #525fd4;
$custom-light: #8f8ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#525fd4",
  "rgb": {
    "r": 82,
    "g": 95,
    "b": 212
  },
  "hsl": {
    "h": 234,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.54007,
    "c": 0.17843,
    "h": 274
  },
  "luminance": 0.14732
}

Semantic roles & 50–950 ramp

primary
#525FD4
secondary
#DBD6A7
accent
#D344E3
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #525FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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