#528EF2#528EF2

#528EF2 is a light, vivid blue. Relative luminance 0.276; OKLCH L 65.4% C 0.162 H 260.0°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#528EF2
RGBrgb(82, 142, 242)
HSLhsl(218, 86%, 64%)
HSVhsv(218, 66%, 95%)
CMYKcmyk(66.1%, 41.3%, 0%, 5.1%)
CIE-LABlab(59.48, 11.94, -56.00)
CIE-LCHlch(59.48, 57.26, 282.04°)
OKLaboklab(65.43% -0.0281 -0.1597)
OKLCHoklch(65.43% 0.162 260)
XYZxyz(29.1740, 27.5477, 87.7669)
Luminance0.2755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528EF2 #F2B652
analogous
#52DEF2 #528EF2 #6652F2
triadic
#528EF2 #F2528E #8EF252
tetradic
#528EF2 #F252DE #F2B652 #52F266
square
#528EF2 #F252DE #F2B652 #52F266
split-complementary
#528EF2 #F26652 #DEF252
monochromatic
#0E4FBC #1969EE #528EF2 #8BB3F6 #C4D8FB

Accessibility & contrast

On white

3.23
#528EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#528EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528EF2
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528EF2#FFFFFF#000000##000000
##528EF21.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F97F6
Deuteranopia (green-blind)
#4688F0
Tritanopia (blue-blind)
#00A5B4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #528ef2;
/* rgb */ color: rgb(82, 142, 242);
/* oklch */ color: oklch(65.4% 0.162 260.0);
Tailwind
colors: {
  custom: {
    50: '#92aef7',
    500: '#528ef2',
    950: '#000000',
  },
}
SCSS
$custom: #528ef2;
$custom-light: #92aef7;
$custom-dark: #000000;
JSON
{
  "hex": "#528ef2",
  "rgb": {
    "r": 82,
    "g": 142,
    "b": 242
  },
  "hsl": {
    "h": 217.5,
    "s": 86.022,
    "l": 63.529
  },
  "oklch": {
    "l": 0.65431,
    "c": 0.1622,
    "h": 260
  },
  "luminance": 0.27551
}

Semantic roles & 50–950 ramp

primary
#528EF2
secondary
#ECD7B4
accent
#8F03E3
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #528EF2

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

Preview Lab → · Contrast checker → · Palette generator →

#528EF2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva