#5278FF#5278FF

#5278FF is a mid, highly saturated blue. Relative luminance 0.224; OKLCH L 61.9% C 0.205 H 268.0°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#5278FF
RGBrgb(82, 120, 255)
HSLhsl(227, 100%, 66%)
HSVhsv(227, 68%, 100%)
CMYKcmyk(67.8%, 52.9%, 0%, 0%)
CIE-LABlab(54.49, 29.78, -71.18)
CIE-LCHlch(54.49, 77.16, 292.70°)
OKLaboklab(61.88% -0.007 -0.2047)
OKLCHoklch(61.88% 0.205 268)
XYZxyz(28.2399, 22.4440, 97.4322)
Luminance0.2245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5278FF #FFD952
analogous
#52CEFF #5278FF #8252FF
triadic
#5278FF #FF5278 #78FF52
tetradic
#5278FF #FF52CE #FFD952 #52FF82
square
#5278FF #FF52CE #FFD952 #52FF82
split-complementary
#5278FF #FF8252 #CEFF52
monochromatic
#002FD7 #1548FF #5278FF #8FA8FF #CCD8FF

Accessibility & contrast

On white

3.83
#5278FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#5278FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5278FF
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5278FF#FFFFFF#000000##000000
##5278FF1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#118BFF
Deuteranopia (green-blind)
#007BFC
Tritanopia (blue-blind)
#0098B0
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5278ff;
/* rgb */ color: rgb(82, 120, 255);
/* oklch */ color: oklch(61.9% 0.205 268.0);
Tailwind
colors: {
  custom: {
    50: '#959eff',
    500: '#5278ff',
    950: '#000000',
  },
}
SCSS
$custom: #5278ff;
$custom-light: #959eff;
$custom-dark: #000000;
JSON
{
  "hex": "#5278ff",
  "rgb": {
    "r": 82,
    "g": 120,
    "b": 255
  },
  "hsl": {
    "h": 226.821,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.61876,
    "c": 0.20485,
    "h": 268
  },
  "luminance": 0.22447
}

Semantic roles & 50–950 ramp

primary
#5278FF
secondary
#F3E6BA
accent
#B300E6
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E18
muted
#7F7E86

Preview Lab

Preview with #5278FF

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

Preview Lab → · Contrast checker → · Palette generator →

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