#5276D2#5276D2

#5276D2 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.4% C 0.147 H 265.9°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5276D2
RGBrgb(82, 118, 210)
HSLhsl(223, 59%, 57%)
HSVhsv(223, 61%, 82%)
CMYKcmyk(61%, 43.8%, 0%, 17.6%)
CIE-LABlab(51.15, 15.60, -51.37)
CIE-LCHlch(51.15, 53.69, 286.90°)
OKLaboklab(58.43% -0.0104 -0.1465)
OKLCHoklch(58.43% 0.147 265.9)
XYZxyz(21.5870, 19.4020, 63.5676)
Luminance0.1940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5276D2 #D2AE52
analogous
#52B6D2 #5276D2 #6E52D2
triadic
#5276D2 #D25276 #76D252
tetradic
#5276D2 #D252B6 #D2AE52 #52D26E
square
#5276D2 #D252B6 #D2AE52 #52D26E
split-complementary
#5276D2 #D26E52 #B6D252
monochromatic
#233F87 #3056B7 #5276D2 #839CDF #B3C3EB

Accessibility & contrast

On white

4.30
#5276D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#5276D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5276D2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5276D2#FFFFFF#000000##000000
##5276D21.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)
#4C80D6
Deuteranopia (green-blind)
#3874D0
Tritanopia (blue-blind)
#008B9A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5276d2;
/* rgb */ color: rgb(82, 118, 210);
/* oklch */ color: oklch(58.4% 0.147 265.9);
Tailwind
colors: {
  custom: {
    50: '#8d9de0',
    500: '#5276d2',
    950: '#000000',
  },
}
SCSS
$custom: #5276d2;
$custom-light: #8d9de0;
$custom-dark: #000000;
JSON
{
  "hex": "#5276d2",
  "rgb": {
    "r": 82,
    "g": 118,
    "b": 210
  },
  "hsl": {
    "h": 223.125,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58433,
    "c": 0.14686,
    "h": 265.9
  },
  "luminance": 0.19404
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5276D2

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

Preview Lab → · Contrast checker → · Palette generator →

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