#5277E9#5277E9

#5277E9 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.1% C 0.177 H 267.4°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5277E9
RGBrgb(82, 119, 233)
HSLhsl(225, 77%, 62%)
HSVhsv(225, 65%, 91%)
CMYKcmyk(64.8%, 48.9%, 0%, 8.6%)
CIE-LABlab(52.81, 22.84, -61.69)
CIE-LCHlch(52.81, 65.78, 290.32°)
OKLaboklab(60.14% -0.0081 -0.1768)
OKLCHoklch(60.14% 0.177 267.4)
XYZxyz(24.7794, 20.8684, 79.7971)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5277E9 #E9C452
analogous
#52C3E9 #5277E9 #7952E9
triadic
#5277E9 #E95277 #77E952
tetradic
#5277E9 #E952C3 #E9C452 #52E979
square
#5277E9 #E952C3 #E9C452 #52E979
split-complementary
#5277E9 #E97952 #C3E952
monochromatic
#163AAB #1D4DE1 #5277E9 #88A2F0 #BFCCF7

Accessibility & contrast

On white

4.06
#5277E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#5277E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5277E9
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5277E9#FFFFFF#000000##000000
##5277E91.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3885ED
Deuteranopia (green-blind)
#0D78E7
Tritanopia (blue-blind)
#0092A5
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5277e9;
/* rgb */ color: rgb(82, 119, 233);
/* oklch */ color: oklch(60.1% 0.177 267.4);
Tailwind
colors: {
  custom: {
    50: '#919df1',
    500: '#5277e9',
    950: '#000000',
  },
}
SCSS
$custom: #5277e9;
$custom-light: #919df1;
$custom-dark: #000000;
JSON
{
  "hex": "#5277e9",
  "rgb": {
    "r": 82,
    "g": 119,
    "b": 233
  },
  "hsl": {
    "h": 225.298,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.6014,
    "c": 0.177,
    "h": 267.4
  },
  "luminance": 0.20871
}

Semantic roles & 50–950 ramp

primary
#5277E9
secondary
#E7DAAF
accent
#A70CDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5277E9

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

Preview Lab → · Contrast checker → · Palette generator →

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