#525BD4#525BD4

#525BD4 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.3% C 0.183 H 275.1°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#525BD4
RGBrgb(82, 91, 212)
HSLhsl(236, 60%, 58%)
HSVhsv(236, 61%, 83%)
CMYKcmyk(61.3%, 57.1%, 0%, 16.9%)
CIE-LABlab(44.27, 33.07, -63.59)
CIE-LCHlch(44.27, 71.68, 297.48°)
OKLaboklab(53.27% 0.0162 -0.1827)
OKLCHoklch(53.27% 0.183 275.1)
XYZxyz(19.1005, 14.0279, 63.9757)
Luminance0.1403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525BD4 #D4CB52
analogous
#529CD4 #525BD4 #8A52D4
triadic
#525BD4 #D4525B #5BD452
tetradic
#525BD4 #D4529C #D4CB52 #52D48A
square
#525BD4 #D4529C #D4CB52 #52D48A
split-complementary
#525BD4 #D48A52 #9CD452
monochromatic
#222989 #2E38BA #525BD4 #8389E0 #B4B8EC

Accessibility & contrast

On white

5.52
#525BD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#525BD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525BD4
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525BD4#FFFFFF#000000##FFFFFF
##525BD41.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED8
Deuteranopia (green-blind)
#0063D2
Tritanopia (blue-blind)
#00788F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #525bd4;
/* rgb */ color: rgb(82, 91, 212);
/* oklch */ color: oklch(53.3% 0.183 275.1);
Tailwind
colors: {
  custom: {
    50: '#8f89e2',
    500: '#525bd4',
    950: '#000000',
  },
}
SCSS
$custom: #525bd4;
$custom-light: #8f89e2;
$custom-dark: #000000;
JSON
{
  "hex": "#525bd4",
  "rgb": {
    "r": 82,
    "g": 91,
    "b": 212
  },
  "hsl": {
    "h": 235.846,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5327,
    "c": 0.18347,
    "h": 275.1
  },
  "luminance": 0.14029
}

Semantic roles & 50–950 ramp

primary
#525BD4
secondary
#DBD7A7
accent
#D844E3
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #525BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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