#5277DA#5277DA

#5277DA is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.1% C 0.157 H 266.3°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#5277DA
RGBrgb(82, 119, 218)
HSLhsl(224, 65%, 59%)
HSVhsv(224, 62%, 85%)
CMYKcmyk(62.4%, 45.4%, 0%, 14.5%)
CIE-LABlab(51.89, 17.71, -54.73)
CIE-LCHlch(51.89, 57.52, 287.93°)
OKLaboklab(59.15% -0.0101 -0.1563)
OKLCHoklch(59.15% 0.157 266.3)
XYZxyz(22.7270, 20.0474, 68.9879)
Luminance0.2005 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5277DA #DAB552
analogous
#52BBDA #5277DA #7152DA
triadic
#5277DA #DA5277 #77DA52
tetradic
#5277DA #DA52BB #DAB552 #52DA71
square
#5277DA #DA52BB #DAB552 #52DA71
split-complementary
#5277DA #DA7152 #BBDA52
monochromatic
#1F3F92 #2A54C5 #5277DA #849FE5 #B7C6F0

Accessibility & contrast

On white

4.19
#5277DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#5277DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5277DA
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5277DA#FFFFFF#000000##000000
##5277DA1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4782DE
Deuteranopia (green-blind)
#3076D8
Tritanopia (blue-blind)
#008E9E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5277da;
/* rgb */ color: rgb(82, 119, 218);
/* oklch */ color: oklch(59.1% 0.157 266.3);
Tailwind
colors: {
  custom: {
    50: '#8f9de6',
    500: '#5277da',
    950: '#000000',
  },
}
SCSS
$custom: #5277da;
$custom-light: #8f9de6;
$custom-dark: #000000;
JSON
{
  "hex": "#5277da",
  "rgb": {
    "r": 82,
    "g": 119,
    "b": 218
  },
  "hsl": {
    "h": 223.676,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59148,
    "c": 0.15666,
    "h": 266.3
  },
  "luminance": 0.20049
}

Semantic roles & 50–950 ramp

primary
#5277DA
secondary
#DFD0A9
accent
#BA40E8
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #5277DA

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

Preview Lab → · Contrast checker → · Palette generator →

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