#5278EC#5278EC

#5278EC is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.5% C 0.180 H 267.2°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#5278EC
RGBrgb(82, 120, 236)
HSLhsl(225, 80%, 62%)
HSVhsv(225, 65%, 93%)
CMYKcmyk(65.3%, 49.2%, 0%, 7.5%)
CIE-LABlab(53.26, 23.25, -62.64)
CIE-LCHlch(53.26, 66.82, 290.37°)
OKLaboklab(60.54% -0.0087 -0.1796)
OKLCHoklch(60.54% 0.18 267.2)
XYZxyz(25.3313, 21.2805, 82.1132)
Luminance0.2128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5278EC #ECC652
analogous
#52C5EC #5278EC #7952EC
triadic
#5278EC #EC5278 #78EC52
tetradic
#5278EC #EC52C5 #ECC652 #52EC79
square
#5278EC #EC52C5 #ECC652 #52EC79
split-complementary
#5278EC #EC7952 #C5EC52
monochromatic
#133AB0 #1B4DE6 #5278EC #89A3F2 #C0CEF8

Accessibility & contrast

On white

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

On black

5.26
#5278EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5278EC
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5278EC#FFFFFF#000000##000000
##5278EC1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3787F0
Deuteranopia (green-blind)
#0579EA
Tritanopia (blue-blind)
#0093A7
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5278ec;
/* rgb */ color: rgb(82, 120, 236);
/* oklch */ color: oklch(60.5% 0.180 267.2);
Tailwind
colors: {
  custom: {
    50: '#929ef3',
    500: '#5278ec',
    950: '#000000',
  },
}
SCSS
$custom: #5278ec;
$custom-light: #929ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#5278ec",
  "rgb": {
    "r": 82,
    "g": 120,
    "b": 236
  },
  "hsl": {
    "h": 225.195,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60543,
    "c": 0.1798,
    "h": 267.2
  },
  "luminance": 0.21283
}

Semantic roles & 50–950 ramp

primary
#5278EC
secondary
#E9DBB1
accent
#A809DD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5278EC

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

Preview Lab → · Contrast checker → · Palette generator →

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