#5279EC#5279EC

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

Color values

HEX#5279EC
RGBrgb(82, 121, 236)
HSLhsl(225, 80%, 62%)
HSVhsv(225, 65%, 93%)
CMYKcmyk(65.3%, 48.7%, 0%, 7.5%)
CIE-LABlab(53.52, 22.64, -62.22)
CIE-LCHlch(53.52, 66.21, 289.99°)
OKLaboklab(60.74% -0.0096 -0.1783)
OKLCHoklch(60.74% 0.179 266.9)
XYZxyz(25.4521, 21.5223, 82.1535)
Luminance0.2152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5279EC #ECC552
analogous
#52C6EC #5279EC #7852EC
triadic
#5279EC #EC5279 #79EC52
tetradic
#5279EC #EC52C6 #ECC552 #52EC78
square
#5279EC #EC52C6 #ECC552 #52EC78
split-complementary
#5279EC #EC7852 #C6EC52
monochromatic
#133BB0 #1B4EE6 #5279EC #89A4F2 #C0CEF8

Accessibility & contrast

On white

3.96
#5279EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#5279EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5279EC
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5279EC#FFFFFF#000000##000000
##5279EC1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A87F0
Deuteranopia (green-blind)
#0E79EA
Tritanopia (blue-blind)
#0094A7
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5279ec;
/* rgb */ color: rgb(82, 121, 236);
/* oklch */ color: oklch(60.7% 0.179 266.9);
Tailwind
colors: {
  custom: {
    50: '#929ff3',
    500: '#5279ec',
    950: '#000000',
  },
}
SCSS
$custom: #5279ec;
$custom-light: #929ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#5279ec",
  "rgb": {
    "r": 82,
    "g": 121,
    "b": 236
  },
  "hsl": {
    "h": 224.805,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60741,
    "c": 0.1786,
    "h": 266.9
  },
  "luminance": 0.21525
}

Semantic roles & 50–950 ramp

primary
#5279EC
secondary
#E9DBB1
accent
#A709DD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5279EC

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

Preview Lab → · Contrast checker → · Palette generator →

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