#5277CE#5277CE

#5277CE is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.4% C 0.140 H 265.0°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#5277CE
RGBrgb(82, 119, 206)
HSLhsl(222, 56%, 56%)
HSVhsv(222, 60%, 81%)
CMYKcmyk(60.2%, 42.2%, 0%, 19.2%)
CIE-LABlab(51.20, 13.63, -49.03)
CIE-LCHlch(51.20, 50.89, 285.54°)
OKLaboklab(58.4% -0.0122 -0.1396)
OKLCHoklch(58.4% 0.14 265)
XYZxyz(21.2133, 19.4419, 61.0153)
Luminance0.1944 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5277CE #CEA952
analogous
#52B5CE #5277CE #6B52CE
triadic
#5277CE #CE5277 #77CE52
tetradic
#5277CE #CE52B5 #CEA952 #52CE6B
square
#5277CE #CE52B5 #CEA952 #52CE6B
split-complementary
#5277CE #CE6B52 #B5CE52
monochromatic
#254081 #3258B1 #5277CE #829CDC #B1C2E9

Accessibility & contrast

On white

4.30
#5277CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#5277CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5277CE
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5277CE#FFFFFF#000000##000000
##5277CE1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5080D1
Deuteranopia (green-blind)
#3F75CC
Tritanopia (blue-blind)
#008B98
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5277ce;
/* rgb */ color: rgb(82, 119, 206);
/* oklch */ color: oklch(58.4% 0.140 265.0);
Tailwind
colors: {
  custom: {
    50: '#8d9ddd',
    500: '#5277ce',
    950: '#000000',
  },
}
SCSS
$custom: #5277ce;
$custom-light: #8d9ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#5277ce",
  "rgb": {
    "r": 82,
    "g": 119,
    "b": 206
  },
  "hsl": {
    "h": 222.097,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58395,
    "c": 0.14012,
    "h": 265
  },
  "luminance": 0.19444
}

Semantic roles & 50–950 ramp

primary
#5277CE
secondary
#D7C8A4
accent
#B249DF
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5277CE

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

Preview Lab → · Contrast checker → · Palette generator →

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