#5285CF#5285CF

#5285CF is a mid, vivid blue. Relative luminance 0.231; OKLCH L 61.5% C 0.126 H 257.7°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#5285CF
RGBrgb(82, 133, 207)
HSLhsl(216, 57%, 57%)
HSVhsv(216, 60%, 81%)
CMYKcmyk(60.4%, 35.7%, 0%, 18.8%)
CIE-LABlab(55.15, 5.48, -43.33)
CIE-LCHlch(55.15, 43.68, 277.21°)
OKLaboklab(61.47% -0.0268 -0.1228)
OKLCHoklch(61.47% 0.126 257.7)
XYZxyz(23.1257, 23.0718, 62.2540)
Luminance0.2307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5285CF #CF9C52
analogous
#52C4CF #5285CF #5E52CF
triadic
#5285CF #CF5285 #85CF52
tetradic
#5285CF #CF52C4 #CF9C52 #52CF5E
square
#5285CF #CF52C4 #CF9C52 #52CF5E
split-complementary
#5285CF #CF5E52 #C4CF52
monochromatic
#244B82 #3166B2 #5285CF #82A7DC #B2C9EA

Accessibility & contrast

On white

3.74
#5285CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5285CF#FFFFFF#000000##000000
##5285CF1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#668AD2
Deuteranopia (green-blind)
#557FCD
Tritanopia (blue-blind)
#0096A0
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5285cf;
/* rgb */ color: rgb(82, 133, 207);
/* oklch */ color: oklch(61.5% 0.126 257.7);
Tailwind
colors: {
  custom: {
    50: '#8da8de',
    500: '#5285cf',
    950: '#000000',
  },
}
SCSS
$custom: #5285cf;
$custom-light: #8da8de;
$custom-dark: #000000;
JSON
{
  "hex": "#5285cf",
  "rgb": {
    "r": 82,
    "g": 133,
    "b": 207
  },
  "hsl": {
    "h": 215.52,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61468,
    "c": 0.12565,
    "h": 257.7
  },
  "luminance": 0.23074
}

Semantic roles & 50–950 ramp

primary
#5285CF
secondary
#D8C3A5
accent
#A248E0
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5285CF

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

Preview Lab → · Contrast checker → · Palette generator →

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