#5276DB#5276DB

#5276DB is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.0% C 0.159 H 266.8°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#5276DB
RGBrgb(82, 118, 219)
HSLhsl(224, 66%, 59%)
HSVhsv(224, 63%, 86%)
CMYKcmyk(62.6%, 46.1%, 0%, 14.1%)
CIE-LABlab(51.68, 18.67, -55.62)
CIE-LCHlch(51.68, 58.67, 288.55°)
OKLaboklab(59.01% -0.009 -0.159)
OKLCHoklch(59.01% 0.159 266.8)
XYZxyz(22.7399, 19.8632, 69.6397)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5276DB #DBB752
analogous
#52BADB #5276DB #7352DB
triadic
#5276DB #DB5276 #76DB52
tetradic
#5276DB #DB52BA #DBB752 #52DB73
square
#5276DB #DB52BA #DBB752 #52DB73
split-complementary
#5276DB #DB7352 #BADB52
monochromatic
#1F3E94 #2953C6 #5276DB #859EE6 #B7C6F0

Accessibility & contrast

On white

4.22
#5276DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#5276DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5276DB
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5276DB#FFFFFF#000000##000000
##5276DB1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4482DF
Deuteranopia (green-blind)
#2C75D9
Tritanopia (blue-blind)
#008D9E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5276db;
/* rgb */ color: rgb(82, 118, 219);
/* oklch */ color: oklch(59.0% 0.159 266.8);
Tailwind
colors: {
  custom: {
    50: '#8f9de7',
    500: '#5276db',
    950: '#000000',
  },
}
SCSS
$custom: #5276db;
$custom-light: #8f9de7;
$custom-dark: #000000;
JSON
{
  "hex": "#5276db",
  "rgb": {
    "r": 82,
    "g": 118,
    "b": 219
  },
  "hsl": {
    "h": 224.234,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59008,
    "c": 0.15923,
    "h": 266.8
  },
  "luminance": 0.19865
}

Semantic roles & 50–950 ramp

primary
#5276DB
secondary
#DFD1AA
accent
#BC3FE9
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5276DB

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

Preview Lab → · Contrast checker → · Palette generator →

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