#5279EB#5279EB

#5279EB is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.7% C 0.177 H 266.9°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5279EB
RGBrgb(82, 121, 235)
HSLhsl(225, 79%, 62%)
HSVhsv(225, 65%, 92%)
CMYKcmyk(65.1%, 48.5%, 0%, 7.8%)
CIE-LABlab(53.45, 22.30, -61.76)
CIE-LCHlch(53.45, 65.66, 289.85°)
OKLaboklab(60.67% -0.0097 -0.177)
OKLCHoklch(60.67% 0.177 266.9)
XYZxyz(25.3073, 21.4644, 81.3905)
Luminance0.2147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5279EB #EBC452
analogous
#52C6EB #5279EB #7852EB
triadic
#5279EB #EB5279 #79EB52
tetradic
#5279EB #EB52C6 #EBC452 #52EB78
square
#5279EB #EB52C6 #EBC452 #52EB78
split-complementary
#5279EB #EB7852 #C6EB52
monochromatic
#143BAE #1B4FE5 #5279EB #89A3F1 #C0CEF8

Accessibility & contrast

On white

3.97
#5279EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#5279EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5279EB
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5279EB#FFFFFF#000000##000000
##5279EB1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B87EF
Deuteranopia (green-blind)
#1279E9
Tritanopia (blue-blind)
#0094A7
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5279eb;
/* rgb */ color: rgb(82, 121, 235);
/* oklch */ color: oklch(60.7% 0.177 266.9);
Tailwind
colors: {
  custom: {
    50: '#929ff2',
    500: '#5279eb',
    950: '#000000',
  },
}
SCSS
$custom: #5279eb;
$custom-light: #929ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#5279eb",
  "rgb": {
    "r": 82,
    "g": 121,
    "b": 235
  },
  "hsl": {
    "h": 224.706,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60674,
    "c": 0.17726,
    "h": 266.9
  },
  "luminance": 0.21467
}

Semantic roles & 50–950 ramp

primary
#5279EB
secondary
#E8DAB0
accent
#A60ADC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5279EB

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

Preview Lab → · Contrast checker → · Palette generator →

#5279EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva