#5278E6#5278E6

#5278E6 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.1% C 0.172 H 266.9°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#5278E6
RGBrgb(82, 120, 230)
HSLhsl(225, 75%, 61%)
HSVhsv(225, 64%, 90%)
CMYKcmyk(64.3%, 47.8%, 0%, 9.8%)
CIE-LABlab(52.88, 21.20, -59.89)
CIE-LCHlch(52.88, 63.53, 289.49°)
OKLaboklab(60.14% -0.0094 -0.1715)
OKLCHoklch(60.14% 0.172 266.9)
XYZxyz(24.4742, 20.9377, 77.5992)
Luminance0.2094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5278E6 #E6C052
analogous
#52C2E6 #5278E6 #7652E6
triadic
#5278E6 #E65278 #78E652
tetradic
#5278E6 #E652C2 #E6C052 #52E676
square
#5278E6 #E652C2 #E6C052 #52E676
split-complementary
#5278E6 #E67652 #C2E652
monochromatic
#183CA6 #2050DB #5278E6 #87A2EE #BDCBF5

Accessibility & contrast

On white

4.05
#5278E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#5278E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5278E6
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5278E6#FFFFFF#000000##000000
##5278E61.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E85EA
Deuteranopia (green-blind)
#1D78E4
Tritanopia (blue-blind)
#0091A4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5278e6;
/* rgb */ color: rgb(82, 120, 230);
/* oklch */ color: oklch(60.1% 0.172 266.9);
Tailwind
colors: {
  custom: {
    50: '#919eee',
    500: '#5278e6',
    950: '#000000',
  },
}
SCSS
$custom: #5278e6;
$custom-light: #919eee;
$custom-dark: #000000;
JSON
{
  "hex": "#5278e6",
  "rgb": {
    "r": 82,
    "g": 120,
    "b": 230
  },
  "hsl": {
    "h": 224.595,
    "s": 74.747,
    "l": 61.176
  },
  "oklch": {
    "l": 0.60138,
    "c": 0.17175,
    "h": 266.9
  },
  "luminance": 0.2094
}

Semantic roles & 50–950 ramp

primary
#5278E6
secondary
#E6D7AE
accent
#A30FD7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5278E6

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

Preview Lab → · Contrast checker → · Palette generator →

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