#5285D4#5285D4

#5285D4 is a mid, vivid blue. Relative luminance 0.233; OKLCH L 61.7% C 0.132 H 258.9°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#5285D4
RGBrgb(82, 133, 212)
HSLhsl(216, 60%, 58%)
HSVhsv(216, 61%, 83%)
CMYKcmyk(61.3%, 37.3%, 0%, 16.9%)
CIE-LABlab(55.40, 7.15, -45.75)
CIE-LCHlch(55.40, 46.30, 278.89°)
OKLaboklab(61.75% -0.0256 -0.1298)
OKLCHoklch(61.75% 0.132 258.9)
XYZxyz(23.7467, 23.3202, 65.5244)
Luminance0.2332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5285D4 #D4A152
analogous
#52C6D4 #5285D4 #6052D4
triadic
#5285D4 #D45285 #85D452
tetradic
#5285D4 #D452C6 #D4A152 #52D460
square
#5285D4 #D452C6 #D4A152 #52D460
split-complementary
#5285D4 #D46052 #C6D452
monochromatic
#224B89 #2E65BA #5285D4 #83A8E0 #B4CAEC

Accessibility & contrast

On white

3.71
#5285D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#5285D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5285D4
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5285D4#FFFFFF#000000##000000
##5285D41.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#638BD7
Deuteranopia (green-blind)
#517FD2
Tritanopia (blue-blind)
#0097A2
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5285d4;
/* rgb */ color: rgb(82, 133, 212);
/* oklch */ color: oklch(61.7% 0.132 258.9);
Tailwind
colors: {
  custom: {
    50: '#8ea8e1',
    500: '#5285d4',
    950: '#000000',
  },
}
SCSS
$custom: #5285d4;
$custom-light: #8ea8e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5285d4",
  "rgb": {
    "r": 82,
    "g": 133,
    "b": 212
  },
  "hsl": {
    "h": 216.462,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.61749,
    "c": 0.13232,
    "h": 258.9
  },
  "luminance": 0.23322
}

Semantic roles & 50–950 ramp

primary
#5285D4
secondary
#DBC7A7
accent
#A544E3
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5285D4

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

Preview Lab → · Contrast checker → · Palette generator →

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