#5285D3#5285D3

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

Color values

HEX#5285D3
RGBrgb(82, 133, 211)
HSLhsl(216, 59%, 57%)
HSVhsv(216, 61%, 83%)
CMYKcmyk(61.1%, 37%, 0%, 17.3%)
CIE-LABlab(55.35, 6.82, -45.27)
CIE-LCHlch(55.35, 45.78, 278.56°)
OKLaboklab(61.69% -0.0258 -0.1284)
OKLCHoklch(61.69% 0.131 258.6)
XYZxyz(23.6209, 23.2699, 64.8621)
Luminance0.2327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5285D3 #D3A052
analogous
#52C6D3 #5285D3 #5F52D3
triadic
#5285D3 #D35285 #85D352
tetradic
#5285D3 #D352C6 #D3A052 #52D35F
square
#5285D3 #D352C6 #D3A052 #52D35F
split-complementary
#5285D3 #D35F52 #C6D352
monochromatic
#234B88 #2F65B9 #5285D3 #83A7DF #B4CAEC

Accessibility & contrast

On white

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

On black

5.65
#5285D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5285D3
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5285D3#FFFFFF#000000##000000
##5285D31.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#648BD6
Deuteranopia (green-blind)
#527FD1
Tritanopia (blue-blind)
#0097A2
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5285d3;
/* rgb */ color: rgb(82, 133, 211);
/* oklch */ color: oklch(61.7% 0.131 258.6);
Tailwind
colors: {
  custom: {
    50: '#8da8e1',
    500: '#5285d3',
    950: '#000000',
  },
}
SCSS
$custom: #5285d3;
$custom-light: #8da8e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5285d3",
  "rgb": {
    "r": 82,
    "g": 133,
    "b": 211
  },
  "hsl": {
    "h": 216.279,
    "s": 59.447,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61693,
    "c": 0.13099,
    "h": 258.6
  },
  "luminance": 0.23272
}

Semantic roles & 50–950 ramp

primary
#5285D3
secondary
#DAC6A6
accent
#A445E3
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5285D3

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

Preview Lab → · Contrast checker → · Palette generator →

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