#5285F3#5285F3

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

Color values

HEX#5285F3
RGBrgb(82, 133, 243)
HSLhsl(221, 87%, 64%)
HSVhsv(221, 66%, 95%)
CMYKcmyk(66.3%, 45.3%, 0%, 4.7%)
CIE-LABlab(57.11, 17.71, -60.33)
CIE-LCHlch(57.11, 62.88, 286.36°)
OKLaboklab(63.63% -0.0196 -0.1726)
OKLCHoklch(63.63% 0.174 263.5)
XYZxyz(28.0392, 25.0372, 88.1316)
Luminance0.2504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5285F3 #F3C052
analogous
#52D5F3 #5285F3 #6F52F3
triadic
#5285F3 #F35285 #85F352
tetradic
#5285F3 #F352D5 #F3C052 #52F36F
square
#5285F3 #F352D5 #F3C052 #52F36F
split-complementary
#5285F3 #F36F52 #D5F352
monochromatic
#0D45BD #195DEF #5285F3 #8BADF7 #C4D6FB

Accessibility & contrast

On white

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

On black

6.01
#5285F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5285F3
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5285F3#FFFFFF#000000##000000
##5285F31.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E91F7
Deuteranopia (green-blind)
#2F82F1
Tritanopia (blue-blind)
#009EB0
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5285f3;
/* rgb */ color: rgb(82, 133, 243);
/* oklch */ color: oklch(63.6% 0.174 263.5);
Tailwind
colors: {
  custom: {
    50: '#92a7f8',
    500: '#5285f3',
    950: '#000000',
  },
}
SCSS
$custom: #5285f3;
$custom-light: #92a7f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5285f3",
  "rgb": {
    "r": 82,
    "g": 133,
    "b": 243
  },
  "hsl": {
    "h": 220.994,
    "s": 87.027,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63626,
    "c": 0.17372,
    "h": 263.5
  },
  "luminance": 0.2504
}

Semantic roles & 50–950 ramp

primary
#5285F3
secondary
#EDDBB4
accent
#9C02E4
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5285F3

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

Preview Lab → · Contrast checker → · Palette generator →

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