#5277EB#5277EB

#5277EB is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.3% C 0.180 H 267.5°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#5277EB
RGBrgb(82, 119, 235)
HSLhsl(225, 79%, 62%)
HSVhsv(225, 65%, 92%)
CMYKcmyk(65.1%, 49.4%, 0%, 7.8%)
CIE-LABlab(52.93, 23.53, -62.60)
CIE-LCHlch(52.93, 66.88, 290.60°)
OKLaboklab(60.28% -0.0079 -0.1795)
OKLCHoklch(60.28% 0.18 267.5)
XYZxyz(25.0667, 20.9833, 81.3103)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5277EB #EBC652
analogous
#52C4EB #5277EB #7952EB
triadic
#5277EB #EB5277 #77EB52
tetradic
#5277EB #EB52C4 #EBC652 #52EB79
square
#5277EB #EB52C4 #EBC652 #52EB79
split-complementary
#5277EB #EB7952 #C4EB52
monochromatic
#1439AE #1B4CE5 #5277EB #89A2F1 #C0CDF8

Accessibility & contrast

On white

4.04
#5277EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#5277EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5277EB
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5277EB#FFFFFF#000000##000000
##5277EB1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3686EF
Deuteranopia (green-blind)
#0178E9
Tritanopia (blue-blind)
#0092A6
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5277eb;
/* rgb */ color: rgb(82, 119, 235);
/* oklch */ color: oklch(60.3% 0.180 267.5);
Tailwind
colors: {
  custom: {
    50: '#929df2',
    500: '#5277eb',
    950: '#000000',
  },
}
SCSS
$custom: #5277eb;
$custom-light: #929df2;
$custom-dark: #000000;
JSON
{
  "hex": "#5277eb",
  "rgb": {
    "r": 82,
    "g": 119,
    "b": 235
  },
  "hsl": {
    "h": 225.49,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60276,
    "c": 0.17967,
    "h": 267.5
  },
  "luminance": 0.20986
}

Semantic roles & 50–950 ramp

primary
#5277EB
secondary
#E8DBB0
accent
#A90ADC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5277EB

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

Preview Lab → · Contrast checker → · Palette generator →

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