#5285DF#5285DF

#5285DF is a light, vivid blue. Relative luminance 0.239; OKLCH L 62.4% C 0.147 H 260.9°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#5285DF
RGBrgb(82, 133, 223)
HSLhsl(218, 69%, 60%)
HSVhsv(218, 63%, 87%)
CMYKcmyk(63.2%, 40.4%, 0%, 12.5%)
CIE-LABlab(55.98, 10.87, -51.01)
CIE-LCHlch(55.98, 52.15, 282.03°)
OKLaboklab(62.39% -0.0231 -0.1452)
OKLCHoklch(62.39% 0.147 260.9)
XYZxyz(25.1818, 23.8943, 73.0827)
Luminance0.2390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5285DF #DFAC52
analogous
#52CBDF #5285DF #6652DF
triadic
#5285DF #DF5285 #85DF52
tetradic
#5285DF #DF52CB #DFAC52 #52DF66
square
#5285DF #DF52CB #DFAC52 #52DF66
split-complementary
#5285DF #DF6652 #CBDF52
monochromatic
#1D4A9A #2663CE #5285DF #86A9E9 #B9CEF2

Accessibility & contrast

On white

3.63
#5285DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#5285DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5285DF
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5285DF#FFFFFF#000000##000000
##5285DF1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8DE3
Deuteranopia (green-blind)
#4880DD
Tritanopia (blue-blind)
#0099A7
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5285df;
/* rgb */ color: rgb(82, 133, 223);
/* oklch */ color: oklch(62.4% 0.147 260.9);
Tailwind
colors: {
  custom: {
    50: '#8fa8e9',
    500: '#5285df',
    950: '#000000',
  },
}
SCSS
$custom: #5285df;
$custom-light: #8fa8e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5285df",
  "rgb": {
    "r": 82,
    "g": 133,
    "b": 223
  },
  "hsl": {
    "h": 218.298,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.62389,
    "c": 0.14705,
    "h": 260.9
  },
  "luminance": 0.23897
}

Semantic roles & 50–950 ramp

primary
#5285DF
secondary
#E2CEAB
accent
#AC3CEC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5285DF

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

Preview Lab → · Contrast checker → · Palette generator →

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