#525DEF#525DEF

#525DEF is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 55.8% C 0.216 H 273.7°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#525DEF
RGBrgb(82, 93, 239)
HSLhsl(236, 83%, 63%)
HSVhsv(236, 66%, 94%)
CMYKcmyk(65.7%, 61.1%, 0%, 6.3%)
CIE-LABlab(46.78, 40.83, -74.82)
CIE-LCHlch(46.78, 85.24, 298.62°)
OKLaboklab(55.76% 0.0141 -0.2157)
OKLCHoklch(55.76% 0.216 273.7)
XYZxyz(22.9688, 15.8525, 83.4940)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525DEF #EFE452
analogous
#52ACEF #525DEF #9552EF
triadic
#525DEF #EF525D #5DEF52
tetradic
#525DEF #EF52AC #EFE452 #52EF95
square
#525DEF #EF52AC #EFE452 #52EF95
split-complementary
#525DEF #EF9552 #ACEF52
monochromatic
#111CB6 #1A29EA #525DEF #8A91F4 #C2C6F9

Accessibility & contrast

On white

5.03
#525DEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#525DEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525DEF
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525DEF#FFFFFF#000000##FFFFFF
##525DEF1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F4
Deuteranopia (green-blind)
#0068EC
Tritanopia (blue-blind)
#00829D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #525def;
/* rgb */ color: rgb(82, 93, 239);
/* oklch */ color: oklch(55.8% 0.216 273.7);
Tailwind
colors: {
  custom: {
    50: '#948bf5',
    500: '#525def',
    950: '#000000',
  },
}
SCSS
$custom: #525def;
$custom-light: #948bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#525def",
  "rgb": {
    "r": 82,
    "g": 93,
    "b": 239
  },
  "hsl": {
    "h": 235.796,
    "s": 83.069,
    "l": 62.941
  },
  "oklch": {
    "l": 0.55761,
    "c": 0.21618,
    "h": 273.7
  },
  "luminance": 0.15855
}

Semantic roles & 50–950 ramp

primary
#525DEF
secondary
#EBE7B2
accent
#D006DF
background
#F9F8FF
surface
#F2F0FF
border
#CCCBD7
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #525DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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