#525EE6#525EE6

#525EE6 is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 55.2% C 0.203 H 273.8°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#525EE6
RGBrgb(82, 94, 230)
HSLhsl(235, 75%, 61%)
HSVhsv(235, 64%, 90%)
CMYKcmyk(64.3%, 59.1%, 0%, 9.8%)
CIE-LABlab(46.33, 37.23, -70.49)
CIE-LCHlch(46.33, 79.72, 297.84°)
OKLaboklab(55.21% 0.0135 -0.203)
OKLCHoklch(55.21% 0.203 273.8)
XYZxyz(21.7606, 15.5105, 76.6946)
Luminance0.1551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525EE6 #E6DA52
analogous
#52A8E6 #525EE6 #9052E6
triadic
#525EE6 #E6525E #5EE652
tetradic
#525EE6 #E652A8 #E6DA52 #52E690
square
#525EE6 #E652A8 #E6DA52 #52E690
split-complementary
#525EE6 #E69052 #A8E652
monochromatic
#1823A6 #202FDB #525EE6 #8790EE #BDC2F5

Accessibility & contrast

On white

5.12
#525EE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#525EE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525EE6
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525EE6#FFFFFF#000000##FFFFFF
##525EE61.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EA
Deuteranopia (green-blind)
#0067E3
Tritanopia (blue-blind)
#008099
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #525ee6;
/* rgb */ color: rgb(82, 94, 230);
/* oklch */ color: oklch(55.2% 0.203 273.8);
Tailwind
colors: {
  custom: {
    50: '#928bef',
    500: '#525ee6',
    950: '#000000',
  },
}
SCSS
$custom: #525ee6;
$custom-light: #928bef;
$custom-dark: #000000;
JSON
{
  "hex": "#525ee6",
  "rgb": {
    "r": 82,
    "g": 94,
    "b": 230
  },
  "hsl": {
    "h": 235.135,
    "s": 74.747,
    "l": 61.176
  },
  "oklch": {
    "l": 0.5521,
    "c": 0.20345,
    "h": 273.8
  },
  "luminance": 0.15512
}

Semantic roles & 50–950 ramp

primary
#525EE6
secondary
#E6E1AE
accent
#C70FD7
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #525EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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