#5278CE#5278CE

#5278CE is a mid, vivid blue. Relative luminance 0.197; OKLCH L 58.6% C 0.139 H 264.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#5278CE
RGBrgb(82, 120, 206)
HSLhsl(222, 56%, 56%)
HSVhsv(222, 60%, 81%)
CMYKcmyk(60.2%, 41.7%, 0%, 19.2%)
CIE-LABlab(51.47, 13.02, -48.59)
CIE-LCHlch(51.47, 50.30, 285.00°)
OKLaboklab(58.61% -0.0132 -0.1383)
OKLCHoklch(58.61% 0.139 264.5)
XYZxyz(21.3329, 19.6812, 61.0552)
Luminance0.1968 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5278CE #CEA852
analogous
#52B6CE #5278CE #6A52CE
triadic
#5278CE #CE5278 #78CE52
tetradic
#5278CE #CE52B6 #CEA852 #52CE6A
square
#5278CE #CE52B6 #CEA852 #52CE6A
split-complementary
#5278CE #CE6A52 #B6CE52
monochromatic
#254181 #3259B1 #5278CE #829DDC #B1C2E9

Accessibility & contrast

On white

4.25
#5278CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#5278CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5278CE
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5278CE#FFFFFF#000000##000000
##5278CE1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5281D1
Deuteranopia (green-blind)
#4075CC
Tritanopia (blue-blind)
#008B99
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5278ce;
/* rgb */ color: rgb(82, 120, 206);
/* oklch */ color: oklch(58.6% 0.139 264.5);
Tailwind
colors: {
  custom: {
    50: '#8d9edd',
    500: '#5278ce',
    950: '#000000',
  },
}
SCSS
$custom: #5278ce;
$custom-light: #8d9edd;
$custom-dark: #000000;
JSON
{
  "hex": "#5278ce",
  "rgb": {
    "r": 82,
    "g": 120,
    "b": 206
  },
  "hsl": {
    "h": 221.613,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58606,
    "c": 0.13892,
    "h": 264.5
  },
  "luminance": 0.19683
}

Semantic roles & 50–950 ramp

primary
#5278CE
secondary
#D7C8A4
accent
#B149DF
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5278CE

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

Preview Lab → · Contrast checker → · Palette generator →

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