#525BDB#525BDB

#525BDB is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.8% C 0.193 H 274.8°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#525BDB
RGBrgb(82, 91, 219)
HSLhsl(236, 66%, 59%)
HSVhsv(236, 63%, 86%)
CMYKcmyk(62.6%, 58.4%, 0%, 14.1%)
CIE-LABlab(44.79, 35.40, -66.76)
CIE-LCHlch(44.79, 75.57, 297.94°)
OKLaboklab(53.81% 0.0162 -0.192)
OKLCHoklch(53.81% 0.193 274.8)
XYZxyz(20.0027, 14.3888, 68.7273)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525BDB #DBD252
analogous
#52A0DB #525BDB #8E52DB
triadic
#525BDB #DB525B #5BDB52
tetradic
#525BDB #DB52A0 #DBD252 #52DB8E
square
#525BDB #DB52A0 #DBD252 #52DB8E
split-complementary
#525BDB #DB8E52 #A0DB52
monochromatic
#1F2694 #2934C6 #525BDB #858BE6 #B7BBF0

Accessibility & contrast

On white

5.42
#525BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#525BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525BDB
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525BDB#FFFFFF#000000##FFFFFF
##525BDB1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#0064D8
Tritanopia (blue-blind)
#007A92
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #525bdb;
/* rgb */ color: rgb(82, 91, 219);
/* oklch */ color: oklch(53.8% 0.193 274.8);
Tailwind
colors: {
  custom: {
    50: '#9089e7',
    500: '#525bdb',
    950: '#000000',
  },
}
SCSS
$custom: #525bdb;
$custom-light: #9089e7;
$custom-dark: #000000;
JSON
{
  "hex": "#525bdb",
  "rgb": {
    "r": 82,
    "g": 91,
    "b": 219
  },
  "hsl": {
    "h": 236.058,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.53812,
    "c": 0.19273,
    "h": 274.8
  },
  "luminance": 0.1439
}

Semantic roles & 50–950 ramp

primary
#525BDB
secondary
#DFDCAA
accent
#DD3FE9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #525BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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