#5285DB#5285DB

#5285DB is a light, vivid blue. Relative luminance 0.237; OKLCH L 62.2% C 0.142 H 260.3°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#5285DB
RGBrgb(82, 133, 219)
HSLhsl(218, 66%, 59%)
HSVhsv(218, 63%, 86%)
CMYKcmyk(62.6%, 39.3%, 0%, 14.1%)
CIE-LABlab(55.77, 9.51, -49.10)
CIE-LCHlch(55.77, 50.02, 280.96°)
OKLaboklab(62.15% -0.024 -0.1396)
OKLCHoklch(62.15% 0.142 260.3)
XYZxyz(24.6489, 23.6811, 70.2760)
Luminance0.2368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5285DB #DBA852
analogous
#52CADB #5285DB #6452DB
triadic
#5285DB #DB5285 #85DB52
tetradic
#5285DB #DB52CA #DBA852 #52DB64
square
#5285DB #DB52CA #DBA852 #52DB64
split-complementary
#5285DB #DB6452 #CADB52
monochromatic
#1F4A94 #2964C6 #5285DB #85A9E6 #B7CCF0

Accessibility & contrast

On white

3.66
#5285DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#5285DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5285DB
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5285DB#FFFFFF#000000##000000
##5285DB1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8DDE
Deuteranopia (green-blind)
#4C80D9
Tritanopia (blue-blind)
#0099A5
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5285db;
/* rgb */ color: rgb(82, 133, 219);
/* oklch */ color: oklch(62.2% 0.142 260.3);
Tailwind
colors: {
  custom: {
    50: '#8fa8e6',
    500: '#5285db',
    950: '#000000',
  },
}
SCSS
$custom: #5285db;
$custom-light: #8fa8e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5285db",
  "rgb": {
    "r": 82,
    "g": 133,
    "b": 219
  },
  "hsl": {
    "h": 217.664,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.62153,
    "c": 0.1417,
    "h": 260.3
  },
  "luminance": 0.23683
}

Semantic roles & 50–950 ramp

primary
#5285DB
secondary
#DFCBAA
accent
#AA3FE9
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #5285DB

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

Preview Lab → · Contrast checker → · Palette generator →

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