#5277FF#5277FF

#5277FF is a mid, highly saturated blue. Relative luminance 0.222; OKLCH L 61.7% C 0.206 H 268.3°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#5277FF
RGBrgb(82, 119, 255)
HSLhsl(227, 100%, 66%)
HSVhsv(227, 68%, 100%)
CMYKcmyk(67.8%, 53.3%, 0%, 0%)
CIE-LABlab(54.24, 30.39, -71.59)
CIE-LCHlch(54.24, 77.78, 293.00°)
OKLaboklab(61.69% -0.0062 -0.2059)
OKLCHoklch(61.69% 0.206 268.3)
XYZxyz(28.1203, 22.2047, 97.3923)
Luminance0.2221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5277FF #FFDA52
analogous
#52CDFF #5277FF #8352FF
triadic
#5277FF #FF5277 #77FF52
tetradic
#5277FF #FF52CD #FFDA52 #52FF83
square
#5277FF #FF52CD #FFDA52 #52FF83
split-complementary
#5277FF #FF8352 #CDFF52
monochromatic
#002ED7 #1547FF #5277FF #8FA7FF #CCD7FF

Accessibility & contrast

On white

3.86
#5277FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#5277FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5277FF
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5277FF#FFFFFF#000000##000000
##5277FF1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#078AFF
Deuteranopia (green-blind)
#007AFC
Tritanopia (blue-blind)
#0098B0
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5277ff;
/* rgb */ color: rgb(82, 119, 255);
/* oklch */ color: oklch(61.7% 0.206 268.3);
Tailwind
colors: {
  custom: {
    50: '#959dff',
    500: '#5277ff',
    950: '#000000',
  },
}
SCSS
$custom: #5277ff;
$custom-light: #959dff;
$custom-dark: #000000;
JSON
{
  "hex": "#5277ff",
  "rgb": {
    "r": 82,
    "g": 119,
    "b": 255
  },
  "hsl": {
    "h": 227.168,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.61687,
    "c": 0.20604,
    "h": 268.3
  },
  "luminance": 0.22207
}

Semantic roles & 50–950 ramp

primary
#5277FF
secondary
#F3E7BA
accent
#B400E6
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E18
muted
#7F7E86

Preview Lab

Preview with #5277FF

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

Preview Lab → · Contrast checker → · Palette generator →

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