#5278EB#5278EB

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

Color values

HEX#5278EB
RGBrgb(82, 120, 235)
HSLhsl(225, 79%, 62%)
HSVhsv(225, 65%, 92%)
CMYKcmyk(65.1%, 48.9%, 0%, 7.8%)
CIE-LABlab(53.19, 22.91, -62.18)
CIE-LCHlch(53.19, 66.27, 290.23°)
OKLaboklab(60.48% -0.0088 -0.1782)
OKLCHoklch(60.48% 0.178 267.2)
XYZxyz(25.1864, 21.2226, 81.3502)
Luminance0.2122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5278EB #EBC552
analogous
#52C5EB #5278EB #7952EB
triadic
#5278EB #EB5278 #78EB52
tetradic
#5278EB #EB52C5 #EBC552 #52EB79
square
#5278EB #EB52C5 #EBC552 #52EB79
split-complementary
#5278EB #EB7952 #C5EB52
monochromatic
#143AAE #1B4DE5 #5278EB #89A3F1 #C0CEF8

Accessibility & contrast

On white

4.00
#5278EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#5278EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5278EB
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5278EB#FFFFFF#000000##000000
##5278EB1.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3986EF
Deuteranopia (green-blind)
#0B78E9
Tritanopia (blue-blind)
#0093A6
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5278eb;
/* rgb */ color: rgb(82, 120, 235);
/* oklch */ color: oklch(60.5% 0.178 267.2);
Tailwind
colors: {
  custom: {
    50: '#929ef2',
    500: '#5278eb',
    950: '#000000',
  },
}
SCSS
$custom: #5278eb;
$custom-light: #929ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#5278eb",
  "rgb": {
    "r": 82,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 225.098,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60475,
    "c": 0.17847,
    "h": 267.2
  },
  "luminance": 0.21225
}

Semantic roles & 50–950 ramp

primary
#5278EB
secondary
#E8DBB0
accent
#A80ADC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5278EB

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

Preview Lab → · Contrast checker → · Palette generator →

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