#5274D2#5274D2

#5274D2 is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.0% C 0.149 H 266.8°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#5274D2
RGBrgb(82, 116, 210)
HSLhsl(224, 59%, 57%)
HSVhsv(224, 61%, 82%)
CMYKcmyk(61%, 44.8%, 0%, 17.6%)
CIE-LABlab(50.61, 16.84, -52.24)
CIE-LCHlch(50.61, 54.89, 287.87°)
OKLaboklab(58.02% -0.0083 -0.1491)
OKLCHoklch(58.02% 0.149 266.8)
XYZxyz(21.3540, 18.9359, 63.4900)
Luminance0.1894 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5274D2 #D2B052
analogous
#52B4D2 #5274D2 #7052D2
triadic
#5274D2 #D25274 #74D252
tetradic
#5274D2 #D252B4 #D2B052 #52D270
square
#5274D2 #D252B4 #D2B052 #52D270
split-complementary
#5274D2 #D27052 #B4D252
monochromatic
#233D87 #3054B7 #5274D2 #839BDF #B3C2EB

Accessibility & contrast

On white

4.39
#5274D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#5274D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5274D2
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5274D2#FFFFFF#000000##000000
##5274D21.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#487FD6
Deuteranopia (green-blind)
#3473D0
Tritanopia (blue-blind)
#008999
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5274d2;
/* rgb */ color: rgb(82, 116, 210);
/* oklch */ color: oklch(58.0% 0.149 266.8);
Tailwind
colors: {
  custom: {
    50: '#8e9be0',
    500: '#5274d2',
    950: '#000000',
  },
}
SCSS
$custom: #5274d2;
$custom-light: #8e9be0;
$custom-dark: #000000;
JSON
{
  "hex": "#5274d2",
  "rgb": {
    "r": 82,
    "g": 116,
    "b": 210
  },
  "hsl": {
    "h": 224.063,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58017,
    "c": 0.14929,
    "h": 266.8
  },
  "luminance": 0.18938
}

Semantic roles & 50–950 ramp

primary
#5274D2
secondary
#DACCA6
accent
#B846E2
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5274D2

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

Preview Lab → · Contrast checker → · Palette generator →

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