#5277CD#5277CD

#5277CD is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.3% C 0.139 H 264.9°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5277CD
RGBrgb(82, 119, 205)
HSLhsl(222, 55%, 56%)
HSVhsv(222, 60%, 80%)
CMYKcmyk(60%, 42%, 0%, 19.6%)
CIE-LABlab(51.14, 13.30, -48.55)
CIE-LCHlch(51.14, 50.33, 285.32°)
OKLaboklab(58.33% -0.0123 -0.1382)
OKLCHoklch(58.33% 0.139 264.9)
XYZxyz(21.0922, 19.3935, 60.3776)
Luminance0.1940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5277CD #CDA852
analogous
#52B5CD #5277CD #6B52CD
triadic
#5277CD #CD5277 #77CD52
tetradic
#5277CD #CD52B5 #CDA852 #52CD6B
square
#5277CD #CD52B5 #CDA852 #52CD6B
split-complementary
#5277CD #CD6B52 #B5CD52
monochromatic
#254080 #3358AF #5277CD #819CDB #B1C2E8

Accessibility & contrast

On white

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

On black

4.88
#5277CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5277CD
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5277CD#FFFFFF#000000##000000
##5277CD1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5180D0
Deuteranopia (green-blind)
#4075CB
Tritanopia (blue-blind)
#008A98
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5277cd;
/* rgb */ color: rgb(82, 119, 205);
/* oklch */ color: oklch(58.3% 0.139 264.9);
Tailwind
colors: {
  custom: {
    50: '#8d9ddd',
    500: '#5277cd',
    950: '#000000',
  },
}
SCSS
$custom: #5277cd;
$custom-light: #8d9ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#5277cd",
  "rgb": {
    "r": 82,
    "g": 119,
    "b": 205
  },
  "hsl": {
    "h": 221.951,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58334,
    "c": 0.13873,
    "h": 264.9
  },
  "luminance": 0.19395
}

Semantic roles & 50–950 ramp

primary
#5277CD
secondary
#D7C7A4
accent
#B249DE
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5277CD

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

Preview Lab → · Contrast checker → · Palette generator →

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