#5272D2#5272D2

#5272D2 is a mid, vivid blue. Relative luminance 0.185; OKLCH L 57.6% C 0.152 H 267.6°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#5272D2
RGBrgb(82, 114, 210)
HSLhsl(225, 59%, 57%)
HSVhsv(225, 61%, 82%)
CMYKcmyk(61%, 45.7%, 0%, 17.6%)
CIE-LABlab(50.07, 18.08, -53.10)
CIE-LCHlch(50.07, 56.09, 288.80°)
OKLaboklab(57.61% -0.0063 -0.1516)
OKLCHoklch(57.61% 0.152 267.6)
XYZxyz(21.1259, 18.4798, 63.4139)
Luminance0.1848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5272D2 #D2B252
analogous
#52B2D2 #5272D2 #7252D2
triadic
#5272D2 #D25272 #72D252
tetradic
#5272D2 #D252B2 #D2B252 #52D272
square
#5272D2 #D252B2 #D2B252 #52D272
split-complementary
#5272D2 #D27252 #B2D252
monochromatic
#233C87 #3052B7 #5272D2 #839ADF #B3C1EB

Accessibility & contrast

On white

4.47
#5272D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#5272D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5272D2
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5272D2#FFFFFF#000000##000000
##5272D21.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#447DD6
Deuteranopia (green-blind)
#2F72D0
Tritanopia (blue-blind)
#008898
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5272d2;
/* rgb */ color: rgb(82, 114, 210);
/* oklch */ color: oklch(57.6% 0.152 267.6);
Tailwind
colors: {
  custom: {
    50: '#8e9ae0',
    500: '#5272d2',
    950: '#000000',
  },
}
SCSS
$custom: #5272d2;
$custom-light: #8e9ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#5272d2",
  "rgb": {
    "r": 82,
    "g": 114,
    "b": 210
  },
  "hsl": {
    "h": 225,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57605,
    "c": 0.15175,
    "h": 267.6
  },
  "luminance": 0.18482
}

Semantic roles & 50–950 ramp

primary
#5272D2
secondary
#DACDA6
accent
#BB46E2
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5272D2

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

Preview Lab → · Contrast checker → · Palette generator →

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