#5276CE#5276CE

#5276CE is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.2% C 0.141 H 265.5°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#5276CE
RGBrgb(82, 118, 206)
HSLhsl(223, 56%, 56%)
HSVhsv(223, 60%, 81%)
CMYKcmyk(60.2%, 42.7%, 0%, 19.2%)
CIE-LABlab(50.93, 14.25, -49.46)
CIE-LCHlch(50.93, 51.47, 286.07°)
OKLaboklab(58.18% -0.0111 -0.1409)
OKLCHoklch(58.18% 0.141 265.5)
XYZxyz(21.0949, 19.2051, 60.9759)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5276CE #CEAA52
analogous
#52B4CE #5276CE #6C52CE
triadic
#5276CE #CE5276 #76CE52
tetradic
#5276CE #CE52B4 #CEAA52 #52CE6C
square
#5276CE #CE52B4 #CEAA52 #52CE6C
split-complementary
#5276CE #CE6C52 #B4CE52
monochromatic
#253F81 #3257B1 #5276CE #829CDC #B1C2E9

Accessibility & contrast

On white

4.34
#5276CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#5276CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5276CE
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5276CE#FFFFFF#000000##000000
##5276CE1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7FD1
Deuteranopia (green-blind)
#3D74CC
Tritanopia (blue-blind)
#008A98
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5276ce;
/* rgb */ color: rgb(82, 118, 206);
/* oklch */ color: oklch(58.2% 0.141 265.5);
Tailwind
colors: {
  custom: {
    50: '#8d9ddd',
    500: '#5276ce',
    950: '#000000',
  },
}
SCSS
$custom: #5276ce;
$custom-light: #8d9ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#5276ce",
  "rgb": {
    "r": 82,
    "g": 118,
    "b": 206
  },
  "hsl": {
    "h": 222.581,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58184,
    "c": 0.14132,
    "h": 265.5
  },
  "luminance": 0.19207
}

Semantic roles & 50–950 ramp

primary
#5276CE
secondary
#D7C9A4
accent
#B349DF
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5276CE

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

Preview Lab → · Contrast checker → · Palette generator →

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