#525FEB#525FEB

#525FEB is a mid, highly saturated blue. Relative luminance 0.160; OKLCH L 55.8% C 0.209 H 273.5°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#525FEB
RGBrgb(82, 95, 235)
HSLhsl(235, 79%, 62%)
HSVhsv(235, 65%, 92%)
CMYKcmyk(65.1%, 59.6%, 0%, 7.8%)
CIE-LABlab(46.94, 38.29, -72.31)
CIE-LCHlch(46.94, 81.82, 297.90°)
OKLaboklab(55.78% 0.0126 -0.2083)
OKLCHoklch(55.78% 0.209 273.5)
XYZxyz(22.5623, 15.9744, 80.4755)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525FEB #EBDE52
analogous
#52ACEB #525FEB #9252EB
triadic
#525FEB #EB525F #5FEB52
tetradic
#525FEB #EB52AC #EBDE52 #52EB92
square
#525FEB #EB52AC #EBDE52 #52EB92
split-complementary
#525FEB #EB9252 #ACEB52
monochromatic
#1421AE #1B2CE5 #525FEB #8992F1 #C0C4F8

Accessibility & contrast

On white

5.01
#525FEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#525FEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525FEB
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525FEB#FFFFFF#000000##FFFFFF
##525FEB1.005.014.205.01
#FFFFFF5.011.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F0
Deuteranopia (green-blind)
#0069E8
Tritanopia (blue-blind)
#00829C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #525feb;
/* rgb */ color: rgb(82, 95, 235);
/* oklch */ color: oklch(55.8% 0.209 273.5);
Tailwind
colors: {
  custom: {
    50: '#938cf2',
    500: '#525feb',
    950: '#000000',
  },
}
SCSS
$custom: #525feb;
$custom-light: #938cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#525feb",
  "rgb": {
    "r": 82,
    "g": 95,
    "b": 235
  },
  "hsl": {
    "h": 234.902,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.55783,
    "c": 0.20871,
    "h": 273.5
  },
  "luminance": 0.15976
}

Semantic roles & 50–950 ramp

primary
#525FEB
secondary
#E8E4B0
accent
#CA0ADC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #525FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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