#525FF1#525FF1

#525FF1 is a mid, highly saturated blue. Relative luminance 0.163; OKLCH L 56.3% C 0.216 H 273.3°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#525FF1
RGBrgb(82, 95, 241)
HSLhsl(235, 85%, 63%)
HSVhsv(235, 66%, 95%)
CMYKcmyk(66%, 60.6%, 0%, 5.5%)
CIE-LABlab(47.40, 40.29, -74.93)
CIE-LCHlch(47.40, 85.07, 298.27°)
OKLaboklab(56.27% 0.0125 -0.216)
OKLCHoklch(56.27% 0.216 273.3)
XYZxyz(23.4438, 16.3270, 85.1180)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525FF1 #F1E452
analogous
#52AFF1 #525FF1 #9452F1
triadic
#525FF1 #F1525F #5FF152
tetradic
#525FF1 #F152AF #F1E452 #52F194
square
#525FF1 #F152AF #F1E452 #52F194
split-complementary
#525FF1 #F19452 #AFF152
monochromatic
#0F1DBA #192BEC #525FF1 #8B93F6 #C3C8FA

Accessibility & contrast

On white

4.92
#525FF1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#525FF1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525FF1
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525FF1#FFFFFF#000000##FFFFFF
##525FF11.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F6
Deuteranopia (green-blind)
#0069EE
Tritanopia (blue-blind)
#00849F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #525ff1;
/* rgb */ color: rgb(82, 95, 241);
/* oklch */ color: oklch(56.3% 0.216 273.3);
Tailwind
colors: {
  custom: {
    50: '#948cf7',
    500: '#525ff1',
    950: '#000000',
  },
}
SCSS
$custom: #525ff1;
$custom-light: #948cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#525ff1",
  "rgb": {
    "r": 82,
    "g": 95,
    "b": 241
  },
  "hsl": {
    "h": 235.094,
    "s": 85.027,
    "l": 63.333
  },
  "oklch": {
    "l": 0.56266,
    "c": 0.21638,
    "h": 273.3
  },
  "luminance": 0.16329
}

Semantic roles & 50–950 ramp

primary
#525FF1
secondary
#ECE7B3
accent
#CF04E2
background
#F9F8FF
surface
#F2F0FF
border
#CCCBD7
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #525FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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