#5285F2#5285F2

#5285F2 is a light, vivid blue. Relative luminance 0.250; OKLCH L 63.6% C 0.172 H 263.4°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#5285F2
RGBrgb(82, 133, 242)
HSLhsl(221, 86%, 64%)
HSVhsv(221, 66%, 95%)
CMYKcmyk(66.1%, 45%, 0%, 5.1%)
CIE-LABlab(57.05, 17.37, -59.87)
CIE-LCHlch(57.05, 62.34, 286.18°)
OKLaboklab(63.56% -0.0197 -0.1713)
OKLCHoklch(63.56% 0.172 263.4)
XYZxyz(27.8886, 24.9770, 87.3385)
Luminance0.2498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5285F2 #F2BF52
analogous
#52D5F2 #5285F2 #6F52F2
triadic
#5285F2 #F25285 #85F252
tetradic
#5285F2 #F252D5 #F2BF52 #52F26F
square
#5285F2 #F252D5 #F2BF52 #52F26F
split-complementary
#5285F2 #F26F52 #D5F252
monochromatic
#0E45BC #195DEE #5285F2 #8BADF6 #C4D5FB

Accessibility & contrast

On white

3.50
#5285F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#5285F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5285F2
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5285F2#FFFFFF#000000##000000
##5285F21.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F91F6
Deuteranopia (green-blind)
#3182F0
Tritanopia (blue-blind)
#009EB0
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5285f2;
/* rgb */ color: rgb(82, 133, 242);
/* oklch */ color: oklch(63.6% 0.172 263.4);
Tailwind
colors: {
  custom: {
    50: '#92a7f7',
    500: '#5285f2',
    950: '#000000',
  },
}
SCSS
$custom: #5285f2;
$custom-light: #92a7f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5285f2",
  "rgb": {
    "r": 82,
    "g": 133,
    "b": 242
  },
  "hsl": {
    "h": 220.875,
    "s": 86.022,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63562,
    "c": 0.1724,
    "h": 263.4
  },
  "luminance": 0.2498
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5285F2

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

Preview Lab → · Contrast checker → · Palette generator →

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