#5278CD#5278CD

#5278CD is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.5% C 0.138 H 264.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#5278CD
RGBrgb(82, 120, 205)
HSLhsl(221, 55%, 56%)
HSVhsv(221, 60%, 80%)
CMYKcmyk(60%, 41.5%, 0%, 19.6%)
CIE-LABlab(51.42, 12.68, -48.11)
CIE-LCHlch(51.42, 49.75, 284.77°)
OKLaboklab(58.55% -0.0134 -0.1369)
OKLCHoklch(58.55% 0.138 264.4)
XYZxyz(21.2118, 19.6327, 60.4174)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5278CD #CDA752
analogous
#52B6CD #5278CD #6A52CD
triadic
#5278CD #CD5278 #78CD52
tetradic
#5278CD #CD52B6 #CDA752 #52CD6A
square
#5278CD #CD52B6 #CDA752 #52CD6A
split-complementary
#5278CD #CD6A52 #B6CD52
monochromatic
#254180 #3359AF #5278CD #819DDB #B1C2E8

Accessibility & contrast

On white

4.26
#5278CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#5278CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5278CD
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5278CD#FFFFFF#000000##000000
##5278CD1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5381D0
Deuteranopia (green-blind)
#4175CB
Tritanopia (blue-blind)
#008B98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5278cd;
/* rgb */ color: rgb(82, 120, 205);
/* oklch */ color: oklch(58.5% 0.138 264.4);
Tailwind
colors: {
  custom: {
    50: '#8d9edd',
    500: '#5278cd',
    950: '#000000',
  },
}
SCSS
$custom: #5278cd;
$custom-light: #8d9edd;
$custom-dark: #000000;
JSON
{
  "hex": "#5278cd",
  "rgb": {
    "r": 82,
    "g": 120,
    "b": 205
  },
  "hsl": {
    "h": 221.463,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58546,
    "c": 0.13753,
    "h": 264.4
  },
  "luminance": 0.19635
}

Semantic roles & 50–950 ramp

primary
#5278CD
secondary
#D7C7A4
accent
#B049DE
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5278CD

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

Preview Lab → · Contrast checker → · Palette generator →

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