#5272DF#5272DF

#5272DF is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.5% C 0.170 H 268.4°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#5272DF
RGBrgb(82, 114, 223)
HSLhsl(226, 69%, 60%)
HSVhsv(226, 63%, 87%)
CMYKcmyk(63.2%, 48.9%, 0%, 12.5%)
CIE-LABlab(50.87, 22.51, -59.19)
CIE-LCHlch(50.87, 63.32, 290.82°)
OKLaboklab(58.47% -0.0046 -0.1695)
OKLCHoklch(58.47% 0.17 268.4)
XYZxyz(22.8117, 19.1541, 72.2927)
Luminance0.1916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5272DF #DFBF52
analogous
#52B8DF #5272DF #7952DF
triadic
#5272DF #DF5272 #72DF52
tetradic
#5272DF #DF52B8 #DFBF52 #52DF79
square
#5272DF #DF52B8 #DFBF52 #52DF79
split-complementary
#5272DF #DF7952 #B8DF52
monochromatic
#1D399A #264CCE #5272DF #869CE9 #B9C6F2

Accessibility & contrast

On white

4.35
#5272DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#5272DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5272DF
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5272DF#FFFFFF#000000##000000
##5272DF1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3780E3
Deuteranopia (green-blind)
#1573DD
Tritanopia (blue-blind)
#008B9E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5272df;
/* rgb */ color: rgb(82, 114, 223);
/* oklch */ color: oklch(58.5% 0.170 268.4);
Tailwind
colors: {
  custom: {
    50: '#909aea',
    500: '#5272df',
    950: '#000000',
  },
}
SCSS
$custom: #5272df;
$custom-light: #909aea;
$custom-dark: #000000;
JSON
{
  "hex": "#5272df",
  "rgb": {
    "r": 82,
    "g": 114,
    "b": 223
  },
  "hsl": {
    "h": 226.383,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58465,
    "c": 0.16958,
    "h": 268.4
  },
  "luminance": 0.19156
}

Semantic roles & 50–950 ramp

primary
#5272DF
secondary
#E2D5AB
accent
#C43CEC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5272DF

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

Preview Lab → · Contrast checker → · Palette generator →

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