#5277EF#5277EF

#5277EF is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.6% C 0.185 H 267.7°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#5277EF
RGBrgb(82, 119, 239)
HSLhsl(226, 83%, 63%)
HSVhsv(226, 66%, 94%)
CMYKcmyk(65.7%, 50.2%, 0%, 6.3%)
CIE-LABlab(53.19, 24.90, -64.43)
CIE-LCHlch(53.19, 69.07, 291.13°)
OKLaboklab(60.55% -0.0075 -0.1849)
OKLCHoklch(60.55% 0.185 267.7)
XYZxyz(25.6511, 21.2171, 84.3881)
Luminance0.2122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5277EF #EFCA52
analogous
#52C5EF #5277EF #7B52EF
triadic
#5277EF #EF5277 #77EF52
tetradic
#5277EF #EF52C5 #EFCA52 #52EF7B
square
#5277EF #EF52C5 #EFCA52 #52EF7B
split-complementary
#5277EF #EF7B52 #C5EF52
monochromatic
#1138B6 #1A4BEA #5277EF #8AA3F4 #C2CFF9

Accessibility & contrast

On white

4.00
#5277EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#5277EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5277EF
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5277EF#FFFFFF#000000##000000
##5277EF1.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3187F3
Deuteranopia (green-blind)
#0078ED
Tritanopia (blue-blind)
#0093A8
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5277ef;
/* rgb */ color: rgb(82, 119, 239);
/* oklch */ color: oklch(60.6% 0.185 267.7);
Tailwind
colors: {
  custom: {
    50: '#929df5',
    500: '#5277ef',
    950: '#000000',
  },
}
SCSS
$custom: #5277ef;
$custom-light: #929df5;
$custom-dark: #000000;
JSON
{
  "hex": "#5277ef",
  "rgb": {
    "r": 82,
    "g": 119,
    "b": 239
  },
  "hsl": {
    "h": 225.86,
    "s": 83.069,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60551,
    "c": 0.18501,
    "h": 267.7
  },
  "luminance": 0.21219
}

Semantic roles & 50–950 ramp

primary
#5277EF
secondary
#EBDDB2
accent
#AC06DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5277EF

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

Preview Lab → · Contrast checker → · Palette generator →

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