#5286FE#5286FE

#5286FE is a light, vivid blue. Relative luminance 0.260; OKLCH L 64.5% C 0.187 H 264.2°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#5286FE
RGBrgb(82, 134, 254)
HSLhsl(222, 99%, 66%)
HSVhsv(222, 68%, 100%)
CMYKcmyk(67.7%, 47.2%, 0%, 0.4%)
CIE-LABlab(58.03, 20.90, -64.92)
CIE-LCHlch(58.03, 68.20, 287.84°)
OKLaboklab(64.54% -0.0189 -0.1861)
OKLCHoklch(64.54% 0.187 264.2)
XYZxyz(29.8879, 25.9968, 97.1895)
Luminance0.2600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5286FE #FECA52
analogous
#52DCFE #5286FE #7452FE
triadic
#5286FE #FE5286 #86FE52
tetradic
#5286FE #FE52DC #FECA52 #52FE74
square
#5286FE #FE52DC #FECA52 #52FE74
split-complementary
#5286FE #FE7452 #DCFE52
monochromatic
#0141D4 #155BFE #5286FE #8FB1FE #CCDBFF

Accessibility & contrast

On white

3.39
#5286FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#5286FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5286FE
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5286FE#FFFFFF#000000##000000
##5286FE1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4694FF
Deuteranopia (green-blind)
#1A84FC
Tritanopia (blue-blind)
#00A2B6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5286fe;
/* rgb */ color: rgb(82, 134, 254);
/* oklch */ color: oklch(64.5% 0.187 264.2);
Tailwind
colors: {
  custom: {
    50: '#94a8ff',
    500: '#5286fe',
    950: '#000000',
  },
}
SCSS
$custom: #5286fe;
$custom-light: #94a8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5286fe",
  "rgb": {
    "r": 82,
    "g": 134,
    "b": 254
  },
  "hsl": {
    "h": 221.86,
    "s": 98.851,
    "l": 65.882
  },
  "oklch": {
    "l": 0.64544,
    "c": 0.18705,
    "h": 264.2
  },
  "luminance": 0.26
}

Semantic roles & 50–950 ramp

primary
#5286FE
secondary
#F2E1B9
accent
#A000E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F18
muted
#7E7F86

Preview Lab

Preview with #5286FE

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

Preview Lab → · Contrast checker → · Palette generator →

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