#525CEF#525CEF

#525CEF is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.6% C 0.217 H 273.9°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#525CEF
RGBrgb(82, 92, 239)
HSLhsl(236, 83%, 63%)
HSVhsv(236, 66%, 94%)
CMYKcmyk(65.7%, 61.5%, 0%, 6.3%)
CIE-LABlab(46.55, 41.43, -75.20)
CIE-LCHlch(46.55, 85.86, 298.85°)
OKLaboklab(55.59% 0.0148 -0.2168)
OKLCHoklch(55.59% 0.217 273.9)
XYZxyz(22.8816, 15.6781, 83.4649)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525CEF #EFE552
analogous
#52ABEF #525CEF #9652EF
triadic
#525CEF #EF525C #5CEF52
tetradic
#525CEF #EF52AB #EFE552 #52EF96
square
#525CEF #EF52AB #EFE552 #52EF96
split-complementary
#525CEF #EF9652 #ABEF52
monochromatic
#111BB6 #1A27EA #525CEF #8A91F4 #C2C6F9

Accessibility & contrast

On white

5.08
#525CEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#525CEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525CEF
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525CEF#FFFFFF#000000##FFFFFF
##525CEF1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F4
Deuteranopia (green-blind)
#0067EC
Tritanopia (blue-blind)
#00819D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #525cef;
/* rgb */ color: rgb(82, 92, 239);
/* oklch */ color: oklch(55.6% 0.217 273.9);
Tailwind
colors: {
  custom: {
    50: '#948af5',
    500: '#525cef',
    950: '#000000',
  },
}
SCSS
$custom: #525cef;
$custom-light: #948af5;
$custom-dark: #000000;
JSON
{
  "hex": "#525cef",
  "rgb": {
    "r": 82,
    "g": 92,
    "b": 239
  },
  "hsl": {
    "h": 236.178,
    "s": 83.069,
    "l": 62.941
  },
  "oklch": {
    "l": 0.55591,
    "c": 0.21734,
    "h": 273.9
  },
  "luminance": 0.1568
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #525CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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