#5285CD#5285CD

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

Color values

HEX#5285CD
RGBrgb(82, 133, 205)
HSLhsl(215, 55%, 56%)
HSVhsv(215, 60%, 80%)
CMYKcmyk(60%, 35.1%, 0%, 19.6%)
CIE-LABlab(55.05, 4.81, -42.36)
CIE-LCHlch(55.05, 42.63, 276.48°)
OKLaboklab(61.36% -0.0273 -0.1199)
OKLCHoklch(61.36% 0.123 257.2)
XYZxyz(22.8827, 22.9746, 60.9744)
Luminance0.2298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5285CD #CD9A52
analogous
#52C3CD #5285CD #5D52CD
triadic
#5285CD #CD5285 #85CD52
tetradic
#5285CD #CD52C3 #CD9A52 #52CD5D
square
#5285CD #CD52C3 #CD9A52 #52CD5D
split-complementary
#5285CD #CD5D52 #C3CD52
monochromatic
#254B80 #3366AF #5285CD #81A6DB #B1C8E8

Accessibility & contrast

On white

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

On black

5.60
#5285CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5285CD
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5285CD#FFFFFF#000000##000000
##5285CD1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#678AD0
Deuteranopia (green-blind)
#567ECC
Tritanopia (blue-blind)
#00959F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5285cd;
/* rgb */ color: rgb(82, 133, 205);
/* oklch */ color: oklch(61.4% 0.123 257.2);
Tailwind
colors: {
  custom: {
    50: '#8da8dc',
    500: '#5285cd',
    950: '#000000',
  },
}
SCSS
$custom: #5285cd;
$custom-light: #8da8dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5285cd",
  "rgb": {
    "r": 82,
    "g": 133,
    "b": 205
  },
  "hsl": {
    "h": 215.122,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61358,
    "c": 0.12298,
    "h": 257.2
  },
  "luminance": 0.22977
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5285CD

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

Preview Lab → · Contrast checker → · Palette generator →

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