#5284F2#5284F2

#5284F2 is a light, vivid blue. Relative luminance 0.247; OKLCH L 63.4% C 0.174 H 263.8°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#5284F2
RGBrgb(82, 132, 242)
HSLhsl(221, 86%, 64%)
HSVhsv(221, 66%, 95%)
CMYKcmyk(66.1%, 45.5%, 0%, 5.1%)
CIE-LABlab(56.79, 17.97, -60.30)
CIE-LCHlch(56.79, 62.92, 286.60°)
OKLaboklab(63.36% -0.0188 -0.1725)
OKLCHoklch(63.36% 0.174 263.8)
XYZxyz(27.7523, 24.7045, 87.2931)
Luminance0.2471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5284F2 #F2C052
analogous
#52D4F2 #5284F2 #7052F2
triadic
#5284F2 #F25284 #84F252
tetradic
#5284F2 #F252D4 #F2C052 #52F270
square
#5284F2 #F252D4 #F2C052 #52F270
split-complementary
#5284F2 #F27052 #D4F252
monochromatic
#0E44BC #195CEE #5284F2 #8BACF6 #C4D5FB

Accessibility & contrast

On white

3.53
#5284F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#5284F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5284F2
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5284F2#FFFFFF#000000##000000
##5284F21.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D90F6
Deuteranopia (green-blind)
#2E81F0
Tritanopia (blue-blind)
#009DAF
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5284f2;
/* rgb */ color: rgb(82, 132, 242);
/* oklch */ color: oklch(63.4% 0.174 263.8);
Tailwind
colors: {
  custom: {
    50: '#92a7f7',
    500: '#5284f2',
    950: '#000000',
  },
}
SCSS
$custom: #5284f2;
$custom-light: #92a7f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5284f2",
  "rgb": {
    "r": 82,
    "g": 132,
    "b": 242
  },
  "hsl": {
    "h": 221.25,
    "s": 86.022,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63357,
    "c": 0.17356,
    "h": 263.8
  },
  "luminance": 0.24707
}

Semantic roles & 50–950 ramp

primary
#5284F2
secondary
#ECDBB4
accent
#9D03E3
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5284F2

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

Preview Lab → · Contrast checker → · Palette generator →

#5284F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva