#525CDB#525CDB

#525CDB is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.0% C 0.192 H 274.6°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#525CDB
RGBrgb(82, 92, 219)
HSLhsl(236, 66%, 59%)
HSVhsv(236, 63%, 86%)
CMYKcmyk(62.6%, 58%, 0%, 14.1%)
CIE-LABlab(45.03, 34.79, -66.37)
CIE-LCHlch(45.03, 74.93, 297.66°)
OKLaboklab(53.99% 0.0153 -0.1909)
OKLCHoklch(53.99% 0.192 274.6)
XYZxyz(20.0888, 14.5609, 68.7560)
Luminance0.1456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525CDB #DBD152
analogous
#52A1DB #525CDB #8D52DB
triadic
#525CDB #DB525C #5CDB52
tetradic
#525CDB #DB52A1 #DBD152 #52DB8D
square
#525CDB #DB52A1 #DBD152 #52DB8D
split-complementary
#525CDB #DB8D52 #A1DB52
monochromatic
#1F2794 #2935C6 #525CDB #858CE6 #B7BBF0

Accessibility & contrast

On white

5.37
#525CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#525CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525CDB
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525CDB#FFFFFF#000000##FFFFFF
##525CDB1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DF
Deuteranopia (green-blind)
#0065D8
Tritanopia (blue-blind)
#007B93
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #525cdb;
/* rgb */ color: rgb(82, 92, 219);
/* oklch */ color: oklch(54.0% 0.192 274.6);
Tailwind
colors: {
  custom: {
    50: '#908ae7',
    500: '#525cdb',
    950: '#000000',
  },
}
SCSS
$custom: #525cdb;
$custom-light: #908ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#525cdb",
  "rgb": {
    "r": 82,
    "g": 92,
    "b": 219
  },
  "hsl": {
    "h": 235.62,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.53991,
    "c": 0.1915,
    "h": 274.6
  },
  "luminance": 0.14563
}

Semantic roles & 50–950 ramp

primary
#525CDB
secondary
#DFDBAA
accent
#DC3FE9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #525CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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