#5278DA#5278DA

#5278DA is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.4% C 0.155 H 265.9°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#5278DA
RGBrgb(82, 120, 218)
HSLhsl(223, 65%, 59%)
HSVhsv(223, 62%, 85%)
CMYKcmyk(62.4%, 45%, 0%, 14.5%)
CIE-LABlab(52.16, 17.09, -54.29)
CIE-LCHlch(52.16, 56.92, 287.47°)
OKLaboklab(59.35% -0.0111 -0.155)
OKLCHoklch(59.35% 0.155 265.9)
XYZxyz(22.8467, 20.2867, 69.0278)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5278DA #DAB452
analogous
#52BCDA #5278DA #7052DA
triadic
#5278DA #DA5278 #78DA52
tetradic
#5278DA #DA52BC #DAB452 #52DA70
square
#5278DA #DA52BC #DAB452 #52DA70
split-complementary
#5278DA #DA7052 #BCDA52
monochromatic
#1F3F92 #2A55C5 #5278DA #849FE5 #B7C7F0

Accessibility & contrast

On white

4.15
#5278DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#5278DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5278DA
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5278DA#FFFFFF#000000##000000
##5278DA1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4983DE
Deuteranopia (green-blind)
#3377D8
Tritanopia (blue-blind)
#008E9E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5278da;
/* rgb */ color: rgb(82, 120, 218);
/* oklch */ color: oklch(59.4% 0.155 265.9);
Tailwind
colors: {
  custom: {
    50: '#8f9ee6',
    500: '#5278da',
    950: '#000000',
  },
}
SCSS
$custom: #5278da;
$custom-light: #8f9ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#5278da",
  "rgb": {
    "r": 82,
    "g": 120,
    "b": 218
  },
  "hsl": {
    "h": 223.235,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59354,
    "c": 0.15545,
    "h": 265.9
  },
  "luminance": 0.20289
}

Semantic roles & 50–950 ramp

primary
#5278DA
secondary
#DFD0A9
accent
#B940E8
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #5278DA

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

Preview Lab → · Contrast checker → · Palette generator →

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