#5277DD#5277DD

#5277DD is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.3% C 0.161 H 266.6°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#5277DD
RGBrgb(82, 119, 221)
HSLhsl(224, 67%, 59%)
HSVhsv(224, 63%, 87%)
CMYKcmyk(62.9%, 46.2%, 0%, 13.3%)
CIE-LABlab(52.07, 18.73, -56.13)
CIE-LCHlch(52.07, 59.17, 288.45°)
OKLaboklab(59.34% -0.0097 -0.1605)
OKLCHoklch(59.34% 0.161 266.6)
XYZxyz(23.1232, 20.2059, 71.0742)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5277DD #DDB852
analogous
#52BDDD #5277DD #7352DD
triadic
#5277DD #DD5277 #77DD52
tetradic
#5277DD #DD52BD #DDB852 #52DD73
square
#5277DD #DD52BD #DDB852 #52DD73
split-complementary
#5277DD #DD7352 #BDDD52
monochromatic
#1E3E97 #2853CA #5277DD #859FE7 #B8C7F1

Accessibility & contrast

On white

4.17
#5277DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#5277DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5277DD
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5277DD#FFFFFF#000000##000000
##5277DD1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4583E1
Deuteranopia (green-blind)
#2C76DB
Tritanopia (blue-blind)
#008E9F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5277dd;
/* rgb */ color: rgb(82, 119, 221);
/* oklch */ color: oklch(59.3% 0.161 266.6);
Tailwind
colors: {
  custom: {
    50: '#8f9de8',
    500: '#5277dd',
    950: '#000000',
  },
}
SCSS
$custom: #5277dd;
$custom-light: #8f9de8;
$custom-dark: #000000;
JSON
{
  "hex": "#5277dd",
  "rgb": {
    "r": 82,
    "g": 119,
    "b": 221
  },
  "hsl": {
    "h": 224.029,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59342,
    "c": 0.16075,
    "h": 266.6
  },
  "luminance": 0.20208
}

Semantic roles & 50–950 ramp

primary
#5277DD
secondary
#E0D2AA
accent
#BC3EEA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5277DD

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

Preview Lab → · Contrast checker → · Palette generator →

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