#5278CF#5278CF

#5278CF is a mid, vivid blue. Relative luminance 0.197; OKLCH L 58.7% C 0.140 H 264.7°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5278CF
RGBrgb(82, 120, 207)
HSLhsl(222, 57%, 57%)
HSVhsv(222, 60%, 81%)
CMYKcmyk(60.4%, 42%, 0%, 18.8%)
CIE-LABlab(51.53, 13.36, -49.07)
CIE-LCHlch(51.53, 50.85, 285.23°)
OKLaboklab(58.67% -0.013 -0.1397)
OKLCHoklch(58.67% 0.14 264.7)
XYZxyz(21.4548, 19.7299, 61.6970)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5278CF #CFA952
analogous
#52B7CF #5278CF #6B52CF
triadic
#5278CF #CF5278 #78CF52
tetradic
#5278CF #CF52B7 #CFA952 #52CF6B
square
#5278CF #CF52B7 #CFA952 #52CF6B
split-complementary
#5278CF #CF6B52 #B7CF52
monochromatic
#244182 #3159B2 #5278CF #829DDC #B2C3EA

Accessibility & contrast

On white

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

On black

4.95
#5278CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5278CF
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5278CF#FFFFFF#000000##000000
##5278CF1.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5181D2
Deuteranopia (green-blind)
#3F76CD
Tritanopia (blue-blind)
#008C99
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5278cf;
/* rgb */ color: rgb(82, 120, 207);
/* oklch */ color: oklch(58.7% 0.140 264.7);
Tailwind
colors: {
  custom: {
    50: '#8d9ede',
    500: '#5278cf',
    950: '#000000',
  },
}
SCSS
$custom: #5278cf;
$custom-light: #8d9ede;
$custom-dark: #000000;
JSON
{
  "hex": "#5278cf",
  "rgb": {
    "r": 82,
    "g": 120,
    "b": 207
  },
  "hsl": {
    "h": 221.76,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58667,
    "c": 0.14031,
    "h": 264.7
  },
  "luminance": 0.19732
}

Semantic roles & 50–950 ramp

primary
#5278CF
secondary
#D8C8A5
accent
#B248E0
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5278CF

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

Preview Lab → · Contrast checker → · Palette generator →

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