#5272C8#5272C8

#5272C8 is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.0% C 0.138 H 266.7°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#5272C8
RGBrgb(82, 114, 200)
HSLhsl(224, 52%, 55%)
HSVhsv(224, 59%, 78%)
CMYKcmyk(59%, 43%, 0%, 21.6%)
CIE-LABlab(49.49, 14.70, -48.32)
CIE-LCHlch(49.49, 50.51, 286.92°)
OKLaboklab(56.97% -0.008 -0.1376)
OKLCHoklch(56.97% 0.138 266.7)
XYZxyz(19.9188, 17.9970, 57.0565)
Luminance0.1800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5272C8 #C8A852
analogous
#52ADC8 #5272C8 #6D52C8
triadic
#5272C8 #C85272 #72C852
tetradic
#5272C8 #C852AD #C8A852 #52C86D
square
#5272C8 #C852AD #C8A852 #52C86D
split-complementary
#5272C8 #C86D52 #ADC852
monochromatic
#273D79 #3554A8 #5272C8 #8098D7 #AFBEE6

Accessibility & contrast

On white

4.57
#5272C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#5272C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5272C8
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5272C8#FFFFFF#000000##000000
##5272C81.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7BCB
Deuteranopia (green-blind)
#3B71C6
Tritanopia (blue-blind)
#008593
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5272c8;
/* rgb */ color: rgb(82, 114, 200);
/* oklch */ color: oklch(57.0% 0.138 266.7);
Tailwind
colors: {
  custom: {
    50: '#8c9ad9',
    500: '#5272c8',
    950: '#000000',
  },
}
SCSS
$custom: #5272c8;
$custom-light: #8c9ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#5272c8",
  "rgb": {
    "r": 82,
    "g": 114,
    "b": 200
  },
  "hsl": {
    "h": 223.729,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.56972,
    "c": 0.13782,
    "h": 266.7
  },
  "luminance": 0.17999
}

Semantic roles & 50–950 ramp

primary
#5272C8
secondary
#D4C6A2
accent
#B54DDB
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5272C8

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

Preview Lab → · Contrast checker → · Palette generator →

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