#5278DB#5278DB

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

Color values

HEX#5278DB
RGBrgb(82, 120, 219)
HSLhsl(223, 66%, 59%)
HSVhsv(223, 63%, 86%)
CMYKcmyk(62.6%, 45.2%, 0%, 14.1%)
CIE-LABlab(52.22, 17.43, -54.76)
CIE-LCHlch(52.22, 57.47, 287.66°)
OKLaboklab(59.42% -0.0109 -0.1564)
OKLCHoklch(59.42% 0.157 266)
XYZxyz(22.9779, 20.3392, 69.7190)
Luminance0.2034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5278DB #DBB552
analogous
#52BCDB #5278DB #7152DB
triadic
#5278DB #DB5278 #78DB52
tetradic
#5278DB #DB52BC #DBB552 #52DB71
square
#5278DB #DB52BC #DBB552 #52DB71
split-complementary
#5278DB #DB7152 #BCDB52
monochromatic
#1F3F94 #2955C6 #5278DB #85A0E6 #B7C7F0

Accessibility & contrast

On white

4.14
#5278DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#5278DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5278DB
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5278DB#FFFFFF#000000##000000
##5278DB1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4883DF
Deuteranopia (green-blind)
#3177D9
Tritanopia (blue-blind)
#008F9F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5278db;
/* rgb */ color: rgb(82, 120, 219);
/* oklch */ color: oklch(59.4% 0.157 266.0);
Tailwind
colors: {
  custom: {
    50: '#8f9ee7',
    500: '#5278db',
    950: '#000000',
  },
}
SCSS
$custom: #5278db;
$custom-light: #8f9ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#5278db",
  "rgb": {
    "r": 82,
    "g": 120,
    "b": 219
  },
  "hsl": {
    "h": 223.358,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59418,
    "c": 0.15681,
    "h": 266
  },
  "luminance": 0.20341
}

Semantic roles & 50–950 ramp

primary
#5278DB
secondary
#DFD0AA
accent
#BA3FE9
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #5278DB

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

Preview Lab → · Contrast checker → · Palette generator →

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