#5285D2#5285D2

#5285D2 is a mid, vivid blue. Relative luminance 0.232; OKLCH L 61.6% C 0.130 H 258.4°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#5285D2
RGBrgb(82, 133, 210)
HSLhsl(216, 59%, 57%)
HSVhsv(216, 61%, 82%)
CMYKcmyk(61%, 36.7%, 0%, 17.6%)
CIE-LABlab(55.30, 6.48, -44.78)
CIE-LCHlch(55.30, 45.25, 278.24°)
OKLaboklab(61.64% -0.026 -0.127)
OKLCHoklch(61.64% 0.13 258.4)
XYZxyz(23.4959, 23.2199, 64.2040)
Luminance0.2322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5285D2 #D29F52
analogous
#52C5D2 #5285D2 #5F52D2
triadic
#5285D2 #D25285 #85D252
tetradic
#5285D2 #D252C5 #D29F52 #52D25F
square
#5285D2 #D252C5 #D29F52 #52D25F
split-complementary
#5285D2 #D25F52 #C5D252
monochromatic
#234B87 #3066B7 #5285D2 #83A7DF #B3C9EB

Accessibility & contrast

On white

3.72
#5285D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#5285D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5285D2
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5285D2#FFFFFF#000000##000000
##5285D21.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#648BD5
Deuteranopia (green-blind)
#537FD0
Tritanopia (blue-blind)
#0096A1
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5285d2;
/* rgb */ color: rgb(82, 133, 210);
/* oklch */ color: oklch(61.6% 0.130 258.4);
Tailwind
colors: {
  custom: {
    50: '#8da8e0',
    500: '#5285d2',
    950: '#000000',
  },
}
SCSS
$custom: #5285d2;
$custom-light: #8da8e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5285d2",
  "rgb": {
    "r": 82,
    "g": 133,
    "b": 210
  },
  "hsl": {
    "h": 216.094,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61636,
    "c": 0.12965,
    "h": 258.4
  },
  "luminance": 0.23222
}

Semantic roles & 50–950 ramp

primary
#5285D2
secondary
#DAC5A6
accent
#A446E2
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5285D2

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

Preview Lab → · Contrast checker → · Palette generator →

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