#5276DA#5276DA

#5276DA is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.9% C 0.158 H 266.7°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5276DA
RGBrgb(82, 118, 218)
HSLhsl(224, 65%, 59%)
HSVhsv(224, 62%, 85%)
CMYKcmyk(62.4%, 45.9%, 0%, 14.5%)
CIE-LABlab(51.62, 18.32, -55.15)
CIE-LCHlch(51.62, 58.12, 288.38°)
OKLaboklab(58.94% -0.0091 -0.1576)
OKLCHoklch(58.94% 0.158 266.7)
XYZxyz(22.6087, 19.8107, 68.9485)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5276DA #DAB652
analogous
#52BADA #5276DA #7252DA
triadic
#5276DA #DA5276 #76DA52
tetradic
#5276DA #DA52BA #DAB652 #52DA72
square
#5276DA #DA52BA #DAB652 #52DA72
split-complementary
#5276DA #DA7252 #BADA52
monochromatic
#1F3E92 #2A53C5 #5276DA #849EE5 #B7C6F0

Accessibility & contrast

On white

4.23
#5276DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#5276DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5276DA
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5276DA#FFFFFF#000000##000000
##5276DA1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4582DE
Deuteranopia (green-blind)
#2E75D8
Tritanopia (blue-blind)
#008D9D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5276da;
/* rgb */ color: rgb(82, 118, 218);
/* oklch */ color: oklch(58.9% 0.158 266.7);
Tailwind
colors: {
  custom: {
    50: '#8f9de6',
    500: '#5276da',
    950: '#000000',
  },
}
SCSS
$custom: #5276da;
$custom-light: #8f9de6;
$custom-dark: #000000;
JSON
{
  "hex": "#5276da",
  "rgb": {
    "r": 82,
    "g": 118,
    "b": 218
  },
  "hsl": {
    "h": 224.118,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58943,
    "c": 0.15786,
    "h": 266.7
  },
  "luminance": 0.19813
}

Semantic roles & 50–950 ramp

primary
#5276DA
secondary
#DFD1A9
accent
#BB40E8
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #5276DA

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

Preview Lab → · Contrast checker → · Palette generator →

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