#5277D2#5277D2

#5277D2 is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.6% C 0.146 H 265.5°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#5277D2
RGBrgb(82, 119, 210)
HSLhsl(223, 59%, 57%)
HSVhsv(223, 61%, 82%)
CMYKcmyk(61%, 43.3%, 0%, 17.6%)
CIE-LABlab(51.43, 14.99, -50.94)
CIE-LCHlch(51.43, 53.10, 286.40°)
OKLaboklab(58.64% -0.0114 -0.1452)
OKLCHoklch(58.64% 0.146 265.5)
XYZxyz(21.7054, 19.6388, 63.6071)
Luminance0.1964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5277D2 #D2AD52
analogous
#52B7D2 #5277D2 #6D52D2
triadic
#5277D2 #D25277 #77D252
tetradic
#5277D2 #D252B7 #D2AD52 #52D26D
square
#5277D2 #D252B7 #D2AD52 #52D26D
split-complementary
#5277D2 #D26D52 #B7D252
monochromatic
#234087 #3057B7 #5277D2 #839DDF #B3C3EB

Accessibility & contrast

On white

4.26
#5277D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#5277D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5277D2
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5277D2#FFFFFF#000000##000000
##5277D21.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D81D5
Deuteranopia (green-blind)
#3A75D0
Tritanopia (blue-blind)
#008C9A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5277d2;
/* rgb */ color: rgb(82, 119, 210);
/* oklch */ color: oklch(58.6% 0.146 265.5);
Tailwind
colors: {
  custom: {
    50: '#8d9de0',
    500: '#5277d2',
    950: '#000000',
  },
}
SCSS
$custom: #5277d2;
$custom-light: #8d9de0;
$custom-dark: #000000;
JSON
{
  "hex": "#5277d2",
  "rgb": {
    "r": 82,
    "g": 119,
    "b": 210
  },
  "hsl": {
    "h": 222.656,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58642,
    "c": 0.14565,
    "h": 265.5
  },
  "luminance": 0.19641
}

Semantic roles & 50–950 ramp

primary
#5277D2
secondary
#DACBA6
accent
#B546E2
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5277D2

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

Preview Lab → · Contrast checker → · Palette generator →

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