#525EDB#525EDB

#525EDB is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.4% C 0.189 H 274.1°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#525EDB
RGBrgb(82, 94, 219)
HSLhsl(235, 66%, 59%)
HSVhsv(235, 63%, 86%)
CMYKcmyk(62.6%, 57.1%, 0%, 14.1%)
CIE-LABlab(45.51, 33.56, -65.58)
CIE-LCHlch(45.51, 73.66, 297.10°)
OKLaboklab(54.35% 0.0136 -0.1885)
OKLCHoklch(54.35% 0.189 274.1)
XYZxyz(20.2643, 14.9120, 68.8145)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525EDB #DBCF52
analogous
#52A2DB #525EDB #8B52DB
triadic
#525EDB #DB525E #5EDB52
tetradic
#525EDB #DB52A2 #DBCF52 #52DB8B
square
#525EDB #DB52A2 #DBCF52 #52DB8B
split-complementary
#525EDB #DB8B52 #A2DB52
monochromatic
#1F2994 #2937C6 #525EDB #858DE6 #B7BCF0

Accessibility & contrast

On white

5.27
#525EDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#525EDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525EDB
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525EDB#FFFFFF#000000##FFFFFF
##525EDB1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#0066D8
Tritanopia (blue-blind)
#007C93
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #525edb;
/* rgb */ color: rgb(82, 94, 219);
/* oklch */ color: oklch(54.4% 0.189 274.1);
Tailwind
colors: {
  custom: {
    50: '#908be7',
    500: '#525edb',
    950: '#000000',
  },
}
SCSS
$custom: #525edb;
$custom-light: #908be7;
$custom-dark: #000000;
JSON
{
  "hex": "#525edb",
  "rgb": {
    "r": 82,
    "g": 94,
    "b": 219
  },
  "hsl": {
    "h": 234.745,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.54352,
    "c": 0.18904,
    "h": 274.1
  },
  "luminance": 0.14914
}

Semantic roles & 50–950 ramp

primary
#525EDB
secondary
#DFDBAA
accent
#DA3FE9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #525EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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