#525FD5#525FD5

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

Color values

HEX#525FD5
RGBrgb(82, 95, 213)
HSLhsl(234, 61%, 58%)
HSVhsv(234, 62%, 84%)
CMYKcmyk(61.5%, 55.4%, 0%, 16.5%)
CIE-LABlab(45.33, 30.93, -62.45)
CIE-LCHlch(45.33, 69.69, 296.35°)
OKLaboklab(54.08% 0.0125 -0.1793)
OKLCHoklch(54.08% 0.18 274)
XYZxyz(19.5782, 14.7808, 64.7591)
Luminance0.1478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525FD5 #D5C852
analogous
#52A0D5 #525FD5 #8752D5
triadic
#525FD5 #D5525F #5FD552
tetradic
#525FD5 #D552A0 #D5C852 #52D587
square
#525FD5 #D552A0 #D5C852 #52D587
split-complementary
#525FD5 #D58752 #A0D552
monochromatic
#222C8B #2E3CBC #525FD5 #838DE1 #B4BAED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##525FD5#FFFFFF#000000##FFFFFF
##525FD51.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)
#0071D9
Deuteranopia (green-blind)
#0066D3
Tritanopia (blue-blind)
#007B91
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #525fd5;
/* rgb */ color: rgb(82, 95, 213);
/* oklch */ color: oklch(54.1% 0.180 274.0);
Tailwind
colors: {
  custom: {
    50: '#8f8ce3',
    500: '#525fd5',
    950: '#000000',
  },
}
SCSS
$custom: #525fd5;
$custom-light: #8f8ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#525fd5",
  "rgb": {
    "r": 82,
    "g": 95,
    "b": 213
  },
  "hsl": {
    "h": 234.046,
    "s": 60.93,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54082,
    "c": 0.17978,
    "h": 274
  },
  "luminance": 0.14782
}

Semantic roles & 50–950 ramp

primary
#525FD5
secondary
#DCD6A7
accent
#D444E4
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C15
muted
#7E7D84

Preview Lab

Preview with #525FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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