#5278ED#5278ED

#5278ED is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.6% C 0.181 H 267.3°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#5278ED
RGBrgb(82, 120, 237)
HSLhsl(225, 81%, 63%)
HSVhsv(225, 65%, 93%)
CMYKcmyk(65.4%, 49.4%, 0%, 7.1%)
CIE-LABlab(53.32, 23.60, -63.10)
CIE-LCHlch(53.32, 67.37, 290.51°)
OKLaboklab(60.61% -0.0086 -0.1809)
OKLCHoklch(60.61% 0.181 267.3)
XYZxyz(25.4769, 21.3388, 82.8805)
Luminance0.2134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5278ED #EDC752
analogous
#52C6ED #5278ED #7952ED
triadic
#5278ED #ED5278 #78ED52
tetradic
#5278ED #ED52C6 #EDC752 #52ED79
square
#5278ED #ED52C6 #EDC752 #52ED79
split-complementary
#5278ED #ED7952 #C6ED52
monochromatic
#133AB2 #1B4DE7 #5278ED #89A3F3 #C1CFF9

Accessibility & contrast

On white

3.99
#5278ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#5278ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5278ED
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5278ED#FFFFFF#000000##000000
##5278ED1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3687F1
Deuteranopia (green-blind)
#0079EB
Tritanopia (blue-blind)
#0093A7
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5278ed;
/* rgb */ color: rgb(82, 120, 237);
/* oklch */ color: oklch(60.6% 0.181 267.3);
Tailwind
colors: {
  custom: {
    50: '#929ef3',
    500: '#5278ed',
    950: '#000000',
  },
}
SCSS
$custom: #5278ed;
$custom-light: #929ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#5278ed",
  "rgb": {
    "r": 82,
    "g": 120,
    "b": 237
  },
  "hsl": {
    "h": 225.29,
    "s": 81.152,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60611,
    "c": 0.18114,
    "h": 267.3
  },
  "luminance": 0.21341
}

Semantic roles & 50–950 ramp

primary
#5278ED
secondary
#EADCB1
accent
#A908DE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5278ED

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

Preview Lab → · Contrast checker → · Palette generator →

#5278ED Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva