#5278EF#5278EF

#5278EF is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.7% C 0.184 H 267.4°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5278EF
RGBrgb(82, 120, 239)
HSLhsl(225, 83%, 63%)
HSVhsv(225, 66%, 94%)
CMYKcmyk(65.7%, 49.8%, 0%, 6.3%)
CIE-LABlab(53.45, 24.29, -64.01)
CIE-LCHlch(53.45, 68.46, 290.78°)
OKLaboklab(60.75% -0.0084 -0.1836)
OKLCHoklch(60.75% 0.184 267.4)
XYZxyz(25.7708, 21.4563, 84.4280)
Luminance0.2146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5278EF #EFC952
analogous
#52C6EF #5278EF #7B52EF
triadic
#5278EF #EF5278 #78EF52
tetradic
#5278EF #EF52C6 #EFC952 #52EF7B
square
#5278EF #EF52C6 #EFC952 #52EF7B
split-complementary
#5278EF #EF7B52 #C6EF52
monochromatic
#1139B6 #1A4CEA #5278EF #8AA4F4 #C2CFF9

Accessibility & contrast

On white

3.97
#5278EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#5278EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5278EF
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5278EF#FFFFFF#000000##000000
##5278EF1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3387F3
Deuteranopia (green-blind)
#0079ED
Tritanopia (blue-blind)
#0094A8
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5278ef;
/* rgb */ color: rgb(82, 120, 239);
/* oklch */ color: oklch(60.7% 0.184 267.4);
Tailwind
colors: {
  custom: {
    50: '#929ef5',
    500: '#5278ef',
    950: '#000000',
  },
}
SCSS
$custom: #5278ef;
$custom-light: #929ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#5278ef",
  "rgb": {
    "r": 82,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 225.478,
    "s": 83.069,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60748,
    "c": 0.18381,
    "h": 267.4
  },
  "luminance": 0.21459
}

Semantic roles & 50–950 ramp

primary
#5278EF
secondary
#EBDDB2
accent
#AB06DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5278EF

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

Preview Lab → · Contrast checker → · Palette generator →

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