#5286F2#5286F2

#5286F2 is a light, vivid blue. Relative luminance 0.253; OKLCH L 63.8% C 0.171 H 263.1°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#5286F2
RGBrgb(82, 134, 242)
HSLhsl(221, 86%, 64%)
HSVhsv(221, 66%, 95%)
CMYKcmyk(66.1%, 44.6%, 0%, 5.1%)
CIE-LABlab(57.32, 16.76, -59.45)
CIE-LCHlch(57.32, 61.76, 285.75°)
OKLaboklab(63.77% -0.0206 -0.17)
OKLCHoklch(63.77% 0.171 263.1)
XYZxyz(28.0261, 25.2521, 87.3843)
Luminance0.2525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5286F2 #F2BE52
analogous
#52D6F2 #5286F2 #6E52F2
triadic
#5286F2 #F25286 #86F252
tetradic
#5286F2 #F252D6 #F2BE52 #52F26E
square
#5286F2 #F252D6 #F2BE52 #52F26E
split-complementary
#5286F2 #F26E52 #D6F252
monochromatic
#0E46BC #195EEE #5286F2 #8BAEF6 #C4D6FB

Accessibility & contrast

On white

3.47
#5286F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#5286F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5286F2
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5286F2#FFFFFF#000000##000000
##5286F21.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5191F6
Deuteranopia (green-blind)
#3483F0
Tritanopia (blue-blind)
#009FB0
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5286f2;
/* rgb */ color: rgb(82, 134, 242);
/* oklch */ color: oklch(63.8% 0.171 263.1);
Tailwind
colors: {
  custom: {
    50: '#92a8f7',
    500: '#5286f2',
    950: '#000000',
  },
}
SCSS
$custom: #5286f2;
$custom-light: #92a8f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5286f2",
  "rgb": {
    "r": 82,
    "g": 134,
    "b": 242
  },
  "hsl": {
    "h": 220.5,
    "s": 86.022,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63767,
    "c": 0.17125,
    "h": 263.1
  },
  "luminance": 0.25255
}

Semantic roles & 50–950 ramp

primary
#5286F2
secondary
#ECDAB4
accent
#9A03E3
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5286F2

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

Preview Lab → · Contrast checker → · Palette generator →

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