#5285F5#5285F5

#5285F5 is a light, vivid blue. Relative luminance 0.252; OKLCH L 63.8% C 0.176 H 263.7°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#5285F5
RGBrgb(82, 133, 245)
HSLhsl(221, 89%, 64%)
HSVhsv(221, 67%, 96%)
CMYKcmyk(66.5%, 45.7%, 0%, 3.9%)
CIE-LABlab(57.23, 18.40, -61.25)
CIE-LCHlch(57.23, 63.96, 286.72°)
OKLaboklab(63.75% -0.0193 -0.1753)
OKLCHoklch(63.75% 0.176 263.7)
XYZxyz(28.3428, 25.1587, 89.7309)
Luminance0.2516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5285F5 #F5C252
analogous
#52D7F5 #5285F5 #7152F5
triadic
#5285F5 #F55285 #85F552
tetradic
#5285F5 #F552D7 #F5C252 #52F571
square
#5285F5 #F552D7 #F5C252 #52F571
split-complementary
#5285F5 #F57152 #D7F552
monochromatic
#0B44C1 #185CF2 #5285F5 #8CAEF8 #C6D7FC

Accessibility & contrast

On white

3.48
#5285F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#5285F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5285F5
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5285F5#FFFFFF#000000##000000
##5285F51.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C91F9
Deuteranopia (green-blind)
#2C82F3
Tritanopia (blue-blind)
#009FB1
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5285f5;
/* rgb */ color: rgb(82, 133, 245);
/* oklch */ color: oklch(63.8% 0.176 263.7);
Tailwind
colors: {
  custom: {
    50: '#93a7f9',
    500: '#5285f5',
    950: '#000000',
  },
}
SCSS
$custom: #5285f5;
$custom-light: #93a7f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5285f5",
  "rgb": {
    "r": 82,
    "g": 133,
    "b": 245
  },
  "hsl": {
    "h": 221.227,
    "s": 89.071,
    "l": 64.118
  },
  "oklch": {
    "l": 0.63754,
    "c": 0.17637,
    "h": 263.7
  },
  "luminance": 0.25161
}

Semantic roles & 50–950 ramp

primary
#5285F5
secondary
#EEDCB5
accent
#9E00E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5285F5

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

Preview Lab → · Contrast checker → · Palette generator →

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