#5278E4#5278E4

#5278E4 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.0% C 0.169 H 266.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5278E4
RGBrgb(82, 120, 228)
HSLhsl(224, 73%, 61%)
HSVhsv(224, 64%, 89%)
CMYKcmyk(64%, 47.4%, 0%, 10.6%)
CIE-LABlab(52.76, 20.51, -58.96)
CIE-LCHlch(52.76, 62.43, 289.18°)
OKLaboklab(60.01% -0.0097 -0.1688)
OKLCHoklch(60.01% 0.169 266.7)
XYZxyz(24.1949, 20.8260, 76.1285)
Luminance0.2083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5278E4 #E4BE52
analogous
#52C1E4 #5278E4 #7552E4
triadic
#5278E4 #E45278 #78E452
tetradic
#5278E4 #E452C1 #E4BE52 #52E475
square
#5278E4 #E452C1 #E4BE52 #52E475
split-complementary
#5278E4 #E47552 #C1E452
monochromatic
#193DA2 #2251D7 #5278E4 #87A1EC #BCCBF5

Accessibility & contrast

On white

4.07
#5278E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#5278E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5278E4
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5278E4#FFFFFF#000000##000000
##5278E41.004.075.175.17
#FFFFFF4.071.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4085E8
Deuteranopia (green-blind)
#2278E2
Tritanopia (blue-blind)
#0091A3
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5278e4;
/* rgb */ color: rgb(82, 120, 228);
/* oklch */ color: oklch(60.0% 0.169 266.7);
Tailwind
colors: {
  custom: {
    50: '#909eed',
    500: '#5278e4',
    950: '#000000',
  },
}
SCSS
$custom: #5278e4;
$custom-light: #909eed;
$custom-dark: #000000;
JSON
{
  "hex": "#5278e4",
  "rgb": {
    "r": 82,
    "g": 120,
    "b": 228
  },
  "hsl": {
    "h": 224.384,
    "s": 73,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60005,
    "c": 0.16905,
    "h": 266.7
  },
  "luminance": 0.20828
}

Semantic roles & 50–950 ramp

primary
#5278E4
secondary
#E5D6AD
accent
#A210D5
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5278E4

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

Preview Lab → · Contrast checker → · Palette generator →

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