#5272DE#5272DE

#5272DE is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.4% C 0.168 H 268.4°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#5272DE
RGBrgb(82, 114, 222)
HSLhsl(226, 68%, 60%)
HSVhsv(226, 63%, 87%)
CMYKcmyk(63.1%, 48.6%, 0%, 12.9%)
CIE-LABlab(50.80, 22.16, -58.73)
CIE-LCHlch(50.80, 62.77, 290.68°)
OKLaboklab(58.4% -0.0047 -0.1682)
OKLCHoklch(58.4% 0.168 268.4)
XYZxyz(22.6773, 19.1004, 71.5848)
Luminance0.1910 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5272DE #DEBE52
analogous
#52B8DE #5272DE #7852DE
triadic
#5272DE #DE5272 #72DE52
tetradic
#5272DE #DE52B8 #DEBE52 #52DE78
square
#5272DE #DE52B8 #DEBE52 #52DE78
split-complementary
#5272DE #DE7852 #B8DE52
monochromatic
#1D3999 #274DCC #5272DE #859CE8 #B9C6F2

Accessibility & contrast

On white

4.36
#5272DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#5272DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5272DE
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5272DE#FFFFFF#000000##000000
##5272DE1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3980E2
Deuteranopia (green-blind)
#1873DC
Tritanopia (blue-blind)
#008B9D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5272de;
/* rgb */ color: rgb(82, 114, 222);
/* oklch */ color: oklch(58.4% 0.168 268.4);
Tailwind
colors: {
  custom: {
    50: '#909ae9',
    500: '#5272de',
    950: '#000000',
  },
}
SCSS
$custom: #5272de;
$custom-light: #909ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#5272de",
  "rgb": {
    "r": 82,
    "g": 114,
    "b": 222
  },
  "hsl": {
    "h": 226.286,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58398,
    "c": 0.16823,
    "h": 268.4
  },
  "luminance": 0.19102
}

Semantic roles & 50–950 ramp

primary
#5272DE
secondary
#E1D5AB
accent
#C33DEB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5272DE

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

Preview Lab → · Contrast checker → · Palette generator →

#5272DE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva