#5285CE#5285CE

#5285CE is a mid, vivid blue. Relative luminance 0.230; OKLCH L 61.4% C 0.124 H 257.4°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#5285CE
RGBrgb(82, 133, 206)
HSLhsl(215, 56%, 56%)
HSVhsv(215, 60%, 81%)
CMYKcmyk(60.2%, 35.4%, 0%, 19.2%)
CIE-LABlab(55.10, 5.15, -42.84)
CIE-LCHlch(55.10, 43.15, 276.85°)
OKLaboklab(61.41% -0.027 -0.1213)
OKLCHoklch(61.41% 0.124 257.4)
XYZxyz(23.0038, 23.0231, 61.6122)
Luminance0.2303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5285CE #CE9B52
analogous
#52C3CE #5285CE #5D52CE
triadic
#5285CE #CE5285 #85CE52
tetradic
#5285CE #CE52C3 #CE9B52 #52CE5D
square
#5285CE #CE52C3 #CE9B52 #52CE5D
split-complementary
#5285CE #CE5D52 #C3CE52
monochromatic
#254B81 #3266B1 #5285CE #82A7DC #B1C8E9

Accessibility & contrast

On white

3.75
#5285CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#5285CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5285CE
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5285CE#FFFFFF#000000##000000
##5285CE1.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#668AD1
Deuteranopia (green-blind)
#567FCC
Tritanopia (blue-blind)
#0096A0
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5285ce;
/* rgb */ color: rgb(82, 133, 206);
/* oklch */ color: oklch(61.4% 0.124 257.4);
Tailwind
colors: {
  custom: {
    50: '#8da8dd',
    500: '#5285ce',
    950: '#000000',
  },
}
SCSS
$custom: #5285ce;
$custom-light: #8da8dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5285ce",
  "rgb": {
    "r": 82,
    "g": 133,
    "b": 206
  },
  "hsl": {
    "h": 215.323,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61413,
    "c": 0.12431,
    "h": 257.4
  },
  "luminance": 0.23025
}

Semantic roles & 50–950 ramp

primary
#5285CE
secondary
#D7C2A4
accent
#A149DF
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5285CE

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

Preview Lab → · Contrast checker → · Palette generator →

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