#5277CC#5277CC

#5277CC is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.3% C 0.137 H 264.8°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#5277CC
RGBrgb(82, 119, 204)
HSLhsl(222, 54%, 56%)
HSVhsv(222, 60%, 80%)
CMYKcmyk(59.8%, 41.7%, 0%, 20%)
CIE-LABlab(51.09, 12.96, -48.06)
CIE-LCHlch(51.09, 49.78, 285.09°)
OKLaboklab(58.27% -0.0125 -0.1368)
OKLCHoklch(58.27% 0.137 264.8)
XYZxyz(20.9718, 19.3453, 59.7439)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5277CC #CCA752
analogous
#52B4CC #5277CC #6A52CC
triadic
#5277CC #CC5277 #77CC52
tetradic
#5277CC #CC52B4 #CCA752 #52CC6A
square
#5277CC #CC52B4 #CCA752 #52CC6A
split-complementary
#5277CC #CC6A52 #B4CC52
monochromatic
#25407E #3358AE #5277CC #819CDA #B1C1E8

Accessibility & contrast

On white

4.31
#5277CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#5277CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5277CC
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5277CC#FFFFFF#000000##000000
##5277CC1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5180CF
Deuteranopia (green-blind)
#4175CA
Tritanopia (blue-blind)
#008A97
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5277cc;
/* rgb */ color: rgb(82, 119, 204);
/* oklch */ color: oklch(58.3% 0.137 264.8);
Tailwind
colors: {
  custom: {
    50: '#8d9ddc',
    500: '#5277cc',
    950: '#000000',
  },
}
SCSS
$custom: #5277cc;
$custom-light: #8d9ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#5277cc",
  "rgb": {
    "r": 82,
    "g": 119,
    "b": 204
  },
  "hsl": {
    "h": 221.803,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58273,
    "c": 0.13734,
    "h": 264.8
  },
  "luminance": 0.19347
}

Semantic roles & 50–950 ramp

primary
#5277CC
secondary
#D6C7A4
accent
#B14ADE
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5277CC

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

Preview Lab → · Contrast checker → · Palette generator →

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