#5277E6#5277E6

#5277E6 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.9% C 0.173 H 267.2°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#5277E6
RGBrgb(82, 119, 230)
HSLhsl(225, 75%, 61%)
HSVhsv(225, 64%, 90%)
CMYKcmyk(64.3%, 48.3%, 0%, 9.8%)
CIE-LABlab(52.62, 21.81, -60.31)
CIE-LCHlch(52.62, 64.13, 289.88°)
OKLaboklab(59.94% -0.0085 -0.1727)
OKLCHoklch(59.94% 0.173 267.2)
XYZxyz(24.3545, 20.6984, 77.5593)
Luminance0.2070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5277E6 #E6C152
analogous
#52C1E6 #5277E6 #7752E6
triadic
#5277E6 #E65277 #77E652
tetradic
#5277E6 #E652C1 #E6C152 #52E677
square
#5277E6 #E652C1 #E6C152 #52E677
split-complementary
#5277E6 #E67752 #C1E652
monochromatic
#183BA6 #204FDB #5277E6 #87A1EE #BDCBF5

Accessibility & contrast

On white

4.09
#5277E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#5277E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5277E6
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5277E6#FFFFFF#000000##000000
##5277E61.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C85EA
Deuteranopia (green-blind)
#1877E4
Tritanopia (blue-blind)
#0091A3
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5277e6;
/* rgb */ color: rgb(82, 119, 230);
/* oklch */ color: oklch(59.9% 0.173 267.2);
Tailwind
colors: {
  custom: {
    50: '#919def',
    500: '#5277e6',
    950: '#000000',
  },
}
SCSS
$custom: #5277e6;
$custom-light: #919def;
$custom-dark: #000000;
JSON
{
  "hex": "#5277e6",
  "rgb": {
    "r": 82,
    "g": 119,
    "b": 230
  },
  "hsl": {
    "h": 225,
    "s": 74.747,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59937,
    "c": 0.17296,
    "h": 267.2
  },
  "luminance": 0.20701
}

Semantic roles & 50–950 ramp

primary
#5277E6
secondary
#E6D8AE
accent
#A50FD7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5277E6

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

Preview Lab → · Contrast checker → · Palette generator →

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